Instance details view shows hostname (if it has it) or IP

Currently the hostname and IP is controlled by two config values:
trove_dns_support and add_addresses. I dont see a point of having
the hostname and IP indenpendent. It causes issues for old instances
when DNS is enabled.

I propose to simplify the view by showing hostname if it is set or
show the IP if it is not set.

Closes-bug: #1260567

Change-Id: Ia1fd47cbee89b10d53b0821e104a34eb31543846
Added Redis Crud Operations

blueprint redis-support

Change-Id: I741b3a39e1ec24ee81d441788be72f72726eda10
Remove copyright from empty files

According to policy change in HACKING:
http://docs.openstack.org/developer/hacking/#openstack-licensing
empty files should no longer contain copyright notices.

Change-Id: I3992a72c3614e2d0c65aee91e69d89ff806824fc
Closes-Bug: #1262424
Spelling correction in taskmanager/models.py

Changes:
-Corrected the definition spelling.

Change-Id: I8b3560ed9fb6b8cfaee0abe43df6500ac8f11027
Closes-Bug: #1270113
Edits on help strings

Fixes include rework of text, missing or extra spaces, wrong
capitalization and no sentence style capitalization.

Change-Id: If3d981d1736583b38328eeca5cc392fe10a7a0d0
make datastore_version_id required

The datastore addition didn't migrate existing instances,
which causes existing installations to blow up after upgrading.
This commit addresses that by inserting best-guess dummy data
into the db.  Operators will need to clean up the values to match
their actual usage.

Change-Id: I7ae064cea9b654a4501b91877b779fb4073623af
Closes-Bug: #1259642
Merge "Remove copyright from empty files"
Merge "Added Redis Crud Operations"
Merge "Instance details view shows hostname (if it has it) or IP"
Merge "Edits on help strings"
Merge "Spelling correction in taskmanager/models.py"
Adds exception handling to heat code

Reasons:
- In absence of exception handling code, instance status used to be
  always in BUILD state, even if heat code has error'd out.
- status "CREATE_FAILED" of heat stack should also be candidate
  of code failure and instead of executing next code,
  exception should be raised for this status.
- Resource state should also be verified before keeping their IDs.

Changes:
- Exception handling code added, which would set instance status
  to ERROR for any failures.
- Added HEAT_STACK_SUCCESSFUL_STATUSES & HEAT_RESOURCE_SUCCESSFUL_STATES
- Heat Stack status is verified with HEAT_STACK_SUCCESSFUL_STATUSES,
  and raises exception on failure.
- Heat Resource state is verified with HEAT_RESOURCE_SUCCESSFUL_STATES,
  and raises exception on failure.

Change-Id: I307d3d6bbdcd9a46b6ea94e9673ee8d1d97e50bd
Closes-Bug: #1263496
Changes encoding from 'ascii' to 'utf-8'

Reasons:
- Heat code, while encoding the template encodes it with 'ascii'
  encoding, which should be 'utf-8' instead.

Changes:
- Encoding format changed from 'ascii' to 'utf-8'.

Closes-Bug: #1272053
Change-Id: I66a7c20716899144653b7dbc6811c268caaf7c2c
Merge "make datastore_version_id required"