ARMORY-169 - Allow user-defined functions in armory when a new Tx arrives

Initial delivery. The code is commented out and won't work without
significant mods. The code acts as placeholders for future development.
Merge branch 'devel' of github.com:etotheipi/BitcoinArmory into devel