Change lib to support the writing of up/down scripts by allowing users to declare an up or down function
updated README.md
Added Synch command to allow users to synch either the db or their files
small tidyup
Merge branch 'new-js-format'