adds some extra Command hierarchy functionality and Command tests
new tests and added travis-ci, also corrections to some doc blocks.