Squashed minor commits: Addition of some more tests plus minor code cleanup.

Added test for ZMQApp._ping using mock.

Added scripts to run tests.

Commented out older tests that I had tried out with mock. Saving up for future references.

Minor: Removed newclines, pep-8-isation.
Review fixes for PR #5: Squashing all minor commits.

Removed server_state.py module from zmq_transport/u1db ; This already present in the dep, u1db.

Renamed test_run to test_run_raises_not_implemented_error.

Better division of tests based on the functionality they test.

Modified tests to check the index before and after update.

Minor: Fixed typo.

Minor: Improved doc string for better readability and understanding.

Added documentation.