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*.
Not sure if my opinion is valuable, given that my mind is far away of this stuff at the current moment :), but I think that the ` && requestP->attributeList.size() == 0` part in the condition should be removed.