Set up for Heroku (issue #3)

Set up Procfile, read port from commandline and allow cross-origin JS requests.

Also includes the previous typo fixes for reasons I completely fail to understand, does this fork include my previous patch-1 repo or something?