added events for type, heartbeat updates.
move the type property outside of the state property.
removed redundant event type.
added firmware version to the Type class.
Merge branch 'master' of github.com:3drobotics/3DR-Services-Library into dp_3dr_services
completed update of the setting fragment to the new api.