added get/set runmode and tests
added pkg, pkg-create, pkg-build, pkg-remove and tests
added set-port (no tests)
added offline and online backup (no tests)
added some CQ 5.6 compatibility
rearranged test scripts