fixed bugs that were causing AcaniChat to crash, also added debug information

- NSManagedContext saving needed more debugging info
- missing userID set in our initial ACUser, causing a crash
- functions were not declared in correct scope on server
- added debugging info to server
- added Procfile so this is easy to deploy/start in heroku with "foreman start"