Fixed unit tests
Refactored BDM state strings into constants. Updated everywhere in code
Removed some unused variables
Merge branch 'dev' of github.com:etotheipi/BitcoinArmory into dev