Error handling

1. Handles errors in github and heroku services gracefully
2. Persistent connections to API endpoints, so we get faster reloads.