Updated some UI modules to use api's for dependent entities
updated arch tests to use api to create OS

corrected indentation for few template tests

Updated all usergroup tests to use fauxfactory and blocked tests with bz-id

updated subnet tests to create domain using api

Updated OS tests to use apis to create partition_table, config_templates, arch, OS and media

updated all media tests to use media URL from Constants

using media URL from Constants for location tests

Removed single value dict from test data

clubbed two negative create domain tests in one

clubbed two negative create config_group tests in one

clubbed two negative compute resource tests in one
Merge pull request #1430 from sghai/misc-changes

Updated some UI modules to use api's for dependent entities