implemented a very simple json backed file store. also commit() will now move the branch ahead, if working tree follows a branch.