Turn scrypt params down during test init.

Rather than setting it at the top of the tests, add an init in
common_test.go so it affects all tests.
Allow injection of crypto keys into the manager.

Useful to test error conditions.

Also provide a new function that wraps snacl.GenerateCryptoKey(),
defined as a variable so that it can be replaced in tests.
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 24 changesets.

Implement voting pools deposit side.
Add restrictions to replace and create series

The minimum number of public keys is now three and the number of
required signatures must be less than the number of public keys
Fix teknico's code review comment
Add a couple new tests to DepositScriptAddress
Simplify some of our tests by using reflect.DeepEqual
Add HD Wallet integration (temporary and hacky!!!)

Add RPC/Websocket calls for:

getdepositscript
createseries
replaceseries
thawseries
Add more error codes, messages and error checking.
Added notifications for deposit scripts
Strengthen tests by checking the correct error code is returned
Fixed according to Nicola's review comments
Get rid of redundant tests for create/replace series

And make sure they test what they're supposed to
Lowercased error messages, cleared up comments, shortened some lines.
No functional changes.
Add test of decryptExtendedKey error paths
Add code review corrections
pool_test.go reformatting
- uniformed all messages with actual value first, expected second
- clarified error messages
- made comments more readable
- shortened long lines

No functional changes.
Revised changes with Lars, should be more reasonable now. :-)
Oops. :-) Syntax errors fixed.