added an enum to track account status ACTIVE or CLOSED
Added a close API call which will close an account and all of its children, and transfer the funds to the parent account.
Merge branch 'master' into closeAccount
updated the branch, but testing fails.
modified tests to test the new key in account, all tests passed on local machine
Added the testing and fixed API call bugs and deadlock bug
changed the status to be saved as a string instead of an int, modified testing to reflect changed, modified the API call to check if the parent account exists.
uncommented the private keyword
added a test case for an account with a spend, that will be closed.
removed some comments
Merge pull request #81 from datacratic/closeAccount

Close account