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.
Merge pull request #5040 from openscholar/citation_distribute_script

Updated repec script