Big refactorization of the organizeChain() in BlockUtils. Some new cleanups
required and some renamings too. gtest seems to complete
split BlockUtils.cpp into more source files
get closer to the BDM.queued() function working
Merge remote-tracking branch 'origin/0.91-dev' into charles-refactor-blockchain

Conflicts:
	armoryengine/PyBtcWallet.py
	cppForSwig/BlockUtils.cpp
	cppForSwig/BlockUtils.h
new technique for queueing things onto the BDM thread.
gtest should build again and improve the makefile so that we don't need to specify all that stuff again
small fix
this function was not used, did nothing
add some const
Merge branch 'dev' into charles-refactor-blockchain

Conflicts:
	ArmoryQt.py
	armoryengine/BDM.py
	cppForSwig/BlockUtils.cpp
use RAII for startBatch and commitBatch, for exception safety and errorproneness reduction
that should not be there, at all oh no
remove code that was mistakenly kept through the previous conflict
remove the IterSafe algorithm
Don't use uninitialized variable
make some things private
minor cleanups
de-singleton us just a little bit
desingleton a little bit more
some minor improvements, and some fixes for things I broke previously

make a few things private