ARMORY-125 - Improvements for armoryd

Added the ability to sign unsigned transactions. Also fixed a couple of
runtime errors introduced by commit
44d045f76b0005cbe49ac03d62d2b2142c9839df.