Add migration method to test sqldump files

This is very useful for testing real migration issues from a mysqldump.
You use it like this:

    def _pre_upgrade_031(self, engine):
       _load_mysql_dump_file(engine, 'dump.sql')

Change-Id: I0d5680d42d608bdc1cb70ccdf19a4c867b372351
Showing member list for nested resources

New section 'members' was added for nested resource description. This section
contain physical_resource_id of nested stack resources.

Closes-bug: #1249484
Change-Id: Iff5647b92abcd9d6fc3b6e3f3e7379c3f5f95e79
Refactor software config db model to use LongText

Reuse the types defined in heat.db.sqlalchemy.types in software config
db model and versions migration to make code clean and consistent.

Change-Id: Iae7d5ec34413aedf8a38a3e22d22cacf4e031c24
Add heat.sqlite in git ignore list

SQLite file "heat.sqlite" will be generated during test cases
running. So it should be in git ignore list.

Change-Id: I31217e3de69a016fb4daa7e353161d58c71df98b
Enabled source code coverage for contrib directory

So we can check the source code coverage status of contrib
directory. It's obvious to adjust omit and source properties in
.coveragerc. The tricky code in .testr.conf is caused by the behavior
of setuptools.

When running coverage, setuptools set environment variable PYTHON to
'coverage run --source package --parallel-mode' and call testr to run
the tests. The value specified via command line option --source will
overwrite the source value in .coveragerc. So contrib directory is
excluded from coverage run.

The change in .testr.conf removed the '--source heat' specified by
setuptools. So the source value specified in .coveragerc will be used
by coverage.

Change-Id: I92f6b058067ace3b3370a3670856ab3dc073b52f
serialize non-string nova metadata

This patches ensures that non-string metadata values passed to Nova
are JSON-encoded. This permits setting metadata to complex values,
such as:

    instance0:
      type: OS::Nova::Server
      properties:
        metadata:
          internal_ip: {get_attr: [instance0_eth1, fixed_ips]}

Change-Id: I1a943876d805dce731771b18a39d0c78f617264a
Closes-Bug: 1274155
Imported Translations from Transifex

Change-Id: Ief4e602845e7283c982a772bf53dbb0d8bffce43
Merge "Showing member list for nested resources"
Merge "serialize non-string nova metadata"
Merge "Refactor software config db model to use LongText"
Merge "Add heat.sqlite in git ignore list"
Merge "Enabled source code coverage for contrib directory"
Merge "Add migration method to test sqldump files"
Merge "Imported Translations from Transifex"