Implemented delete_user.

- Shifted the session handler.
- Also updated the test harness to generate the datadir so prosody
  doesn't fail on the final part of user delete.