Refactoring Github API

* Full Issues api created
* Github module refactored into a controller
* Authentication middleware that makes sure you're logged in for API calls
* Integration tests removed and 100% code coverage just with unit tests
* Added support for redirect_url after login
* Proper API errors presented in JSON