New api architecture

* Include wp.com OAuth2 controller
* Supports single sign-on with WPiOS
* Add support for REST API