Refactor ActiveAdapter.

* Update to match new adapter interface.
* Add relations attribute classes.
* Add new mock based test case.
* Apply PSR-2 style.
* Remove model proxy and iterator classes.
Add class to represent HTTP responses with JSON API format.

* Add test case.
Add utility class to handle JSON API HTTP requests.

* Add test case.