added examples for testing the life-cycle of the server
IN-PROGRESS java api for server lifecycle
java api for server lifecycle
java api for server lifecycle finished + fix when one bad request is
encountered: we stop the there
Merge pull request #4 from denlab/added-examples-for-testing-the-life-cycle-of-the-server

exposed a java API to manage the lifecyle of the server