Update for recent btcjson API change.

This commit updates the Tx field of the ListReceivedByAddressResult to
TxIDS to mirror the recent change btcjson.
Refactor txToPairs into smaller functions

Also adds tests for those functions, and improve fee estimation.
Make scrypt parameters overridable/optional
Move new addrmgr Options type and default to top.

Default values near the top of the file is preferrable so they are more
easily spotted.
Update unspentOutputs to remove spent unconfirmed outputs
IMPORT PATH MODIFICATION CHANGESET
----------------------------------

Please use this changeset as the first one on top of the conformal codebase.
Note that if there are new imports, they need to be changed as part of this
changeset. In general, use "git rebase" on github.com/conformal's version
and apply this changeset first.
Squash 61 changesets.

Implement voting pools deposit side.