Minor: added comments to examples
Added support for shutting down the server/cluster programmatically
Add integration test.  Integrate with travis.