Fix bug where device updates are not updating the cache. Fix unmarshal
bug for device element schema.
SITEWHERE-39