Added account deletion procedure

1. Added a new module for account deletion.

2. Added an API method on the core module to delete an account given a username and password.