Fixed a failed test_autosample due to command TG being set.

All tests passing when run from bin/unit_test
adds reset on return from autosample if TG has been set.  removes tg set tests.  tg now a read only parameter.
fix for TG being read only from the bep bleeding over to here.
made integration testing of autosample mode more complete
Merge branch 'master' of github.com:ooici/marine-integrations