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*.
If these lines are no longer needed ...