Feature/associations

Changes in associations:
* JSON support.
* Now an empty or non-existing attribute list in a *association discover context request* will behave just like a normal *discover context request*.
Maybe I should get rid of this comment?