Added subscribe to object update

Added code to subscribe to updates of the context object.
Also resolved some JSLint warnings.
In which situation will the update function receive a String (the GUID I suppose) rather than the object itself?

Function this._loadData() is never called in this situation.