Implementation of account_manager.

Implementation of account_manager with style updates to tests and
addition of fin and fail for Q promises used in tests.
Prepared account_manager for pull request.

Prepared the new implementation account_manager for a pull request.
Satsifies issue #10.
Added assertion for testUpdateAccountLogError.

Added a missing assertion for testUpdateAccountLogError.
Specifically, the test was not checking the passed parameters to
stubs.
Merge branch 'experimental' into account_manager
Async error handling on account_manager_test.

While the previous implementation of the unit tests included error
handling, re-raising errors will cause the test to hang since
test.done is never called. This causes the test to fail but also
finishes the test to prevent hanging.
Fixed timing issue with account_manager_test.

Fixed timing issue (checking query parameters is time-dependent)
in account_manager unit tests (account_manager_test).
Merge pull request #17 from Samnsparky/account_manager

Added implementation of account_manager.