new style observer

refactored observer code to follow Agent/Handler/Instance new pattern,
updated the weather example tp post JSONs
- no settings endpoints yet, just use PUT of a JSON (set of a
dictionary)