Added a catch-all substitution to remove newlines before writing to csv.  Moved csv writing into its own method as the code was repeated between the app and grant scrape methods.  Added and removed comments for clarity.