Refactored persistence layer to be more moduler. Fixed some problems with delta dispatch.
Removed the all-tests namespace and disabled one broken test so that 'lein test' works.