[WiP] json hal implementation

Information about [hal](http://stateless.co/hal_specification.html).

If I disregard the documentation and a custom link formatter the PR is ready for review.

TODO:
* custom link formatter (configure a class which has to implement a specific interface. with only one method. The method parameters would be: the object getting serialized, router)
* docs :P