WIP json api tests
rendering of global links block "seems" to work.
we now use the fact that representable[:definitions] is a hash.
remove LinksDefinition and links_array.
simplify Hyperlink and friends by making LinkCollection::[] the only method to create link collections.
Hyperlink is no OpenStruct anymore and doesn't respond to #rel anymore. altering a Hyperlink only works with #merge! now.
make Hyperlink more immutuable, which is always good.
fix tests.
all tests pass.
clean up the mess that surrounds you.
privatize #method_missing in Hyperlink.
document LinkCollection.
some more work on HAL.
Merge branch 'representable-2.0' into json-api
make links work in JSON API with new representable api.
singular minimal representation, to_json works.
to_json with collection works.
more tests with links for JSON-API.
experimenting with different ways how to implement the resource representer. this commit is just a backup.
try implementing the resource with a dedicated property. use decorators instead of module wherever possible.