foreign keys support; bump major db version
completely gratuitous sanity checks; fixed reparse bug
bump client version
Merge branch 'develop' of https://github.com/PhantomPhreak/counterpartyd into develop