Fixed the test for partition-table
Perform all actions as new user.

This PR updates the existing CLI smoke test and asserts that all actions
are performed as the new user created at the start of the test. Prior to
this change, only the ``create`` actions were being performed as the new
user, and all the other actions were being performed as the default
``admin`` user.
Fixed the travis issue
Merge pull request #1077 from omaciel/sir-smokes-a-lot

Perform all actions as new user.
Fixed the test for partition-table
Merge pull request #1072 from tkolhar/test_cli

Test cli for partition-table update and create
Add str_type argument to StringField

Allow the following type of code to be written:

    StringField(str_type=['alpha'])

Or:

    StringField(str_type=('alpha',))
Merge pull request #1081 from Ichimonji10/str-type

Add str_type argument to StringField
Improve HTTP PUT API tests, reorganize code

There are API tests that issue HTTP PUT requests and check the status code
returned by those HTTP requests. However, there are not tests which check
whether the just-updated entities were correctly updated. Add tests of this kind.

Reorganize code. Move methods `test_post_and_get` and `test_put_and_get` into
their own test case. This is done so that the `longMessage` class variable can
be used. This variable allows good quality error messages to be written while
using a minimum of code.

Update the docstring for class `EntityTestCase`.

Add a new assertion to method `test_post_status_code` and update its docstring
accordingly.