Issue 18: Adding start/stop functionality; fixing lock handling when both git managed and requiring checkpoint.

Fixes #18.