Changed tests to assign the required domain type field during setup
Changed tests to pass the required type param to zone_template.build() method
Fixed FactoryGirl depreciated warnings during zone_template tests.
Fixed FactoryGirl depreciated warnings during user model tests.
Fixed FactoryGirl depreciated warnings during zone_template tests.
Added required type param when creating new Domain objects.
Added required type param on create requests.
Merge pull request #2 from philipmuir/rspec-test-fixes

Rspec test fixes