Updated repec script

The changes to this script sanitize repec output.  Many of our publications are articles, books, etc, but repec only accepts them as working papers.  Instead of producing the wrong output, I'm converting the output to match WP.