updated user tests to use api's for dependent entities and ui factory

- Removed redundant string lists
- updated all tests to use UI factory
- Some re-factoring of tests
- updated generate_string with fauxfactory
Merge pull request #1391 from sghai/user-test

updated user tests to use api's for dependent entities and using factory