rename validity to status
bet statuses
order, order match, more bet, bet match statuses
misc. minor tweaks
Merge branch 'status' into develop

Conflicts:
	lib/blocks.py
	lib/config.py
	lib/util.py
	test/db.dump
add get_messages_by_index and some additional API tweaks
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
DB indexes for foreign keys
API and API doc updates
more API doc changes
minor bug in get_address (testnet block 167352)
Merge branch 'develop' of https://github.com/PhantomPhreak/counterpartyd into develop
minor doc tweaks, also expand the data_dir path (so that expressions like ~user work in data_dir)
deduct fee_required, too
Merge branch 'develop'
Merge branch 'develop' of https://github.com/PhantomPhreak/counterpartyd into develop
Merge branch 'develop'