Added support for creating application user

- Added inputs for application username, password, user privileges
  and database name.
- Used the database resource to create the user and the database.
- Added test to check if the user is created.