Recovering the inflationary potential and primordial power spectrum with a slow roll prior: methodology and application to WMAP three year data