Fix exposure of accounts manager persistence switch
Expose accounts manager's private interface as internal
Refactor account creation in accounts manager

Factor out into separate method for easier stubbing.
Tweak persistence identifier setup in accounts manager

Always run, for easier testing.
Add accounts manager and delegate tests
Merge pull request #26 from 3dna/peng/test-accounts-manager

Add accounts manager tests

To only test the manager layer, tests mock the
account layer. Minor changes included.