Merge pull request #238 from mtnbikenc/issue-237-test-cleanup

Fixes Issue #237 Test Cleanup
Fixes #239 (No error thrown when a poorly formatted RegEx is used to create a tag rule)

The changes in this commit attempt to create a regular expression using the value passed
into the POST method used to create new tag matchers whenever the comparison method
passed in is a 'like' comparison method (and catches any errors that might be thrown,
returning a sensible error back to the user).
Merge pull request #240 from tjmcs/tb/catch-regex-tag-add-error

Fixes #239 (No error when a poorly formatted RegEx is used with tag_rule)
Set up new spec environment
First pass at creating api_model_spec.rb
Adding stubs for more classes.
Removing old file which has been moved
Updated api_model_spec.rb
 - follow the same structure of api_model_v1.rb
 - added test for GET /model/templates
Change rspec config.order from :random to :default
It is important to have the tests run in order because we use the result of one test (such as adding a model, the uuid) to perfom operations in other tests.
Completed filling out the tests for api_model_v1