Fix sqlalchemy models

This patch only makes sqlalchemy models to reflect the actual state of database

Partially implements bp: db-sync-models-with-migrations

Change-Id: I2fa2bc2f0c2b08f69bf7217dc35683d2edbedd26
Fix sqlalchemy migrations

This patch only fixes sqlalchemy migrations:
- add InnoDB engine and utf-8 for all tables,
- using of more appropriate exceptions,
- fix logic and syntax errors.

Partially implements bp: db-sync-models-with-migrations

Change-Id: Ifdc4abe06f8cd0e01e13b003ea30d1e402c9e8ba
Add doc support for update_allowed

Add a section that says if the property can be updated
non destructively.

Change-Id: I204c42075a4454c45066e2c68c4793dc3c77f9e9
Closes-bug: #1240583
Move all possible function tests into scenarios

Change-Id: If0f05ee2308e0591e1a70fce847099a9bf36fdba
Partial-bug: #1226681
Only log to console in heat-db-setup

Make sure heat-manage does not use heat.conf logging
in the heat-db-setup script as the logging directory
might not be setup yet.

Change-Id: I16db3fde1c7bfe5f027c77f2a25ffa2104d15491
Closes-bug: #1191925
Assert that all function exceptions have the function name

Change-Id: Iaeaca86a42dd146926087aeb74192ac5da881cb8
Closes-bug: #1226681
Merge "Add doc support for update_allowed"
Merge "Only log to console in heat-db-setup"
Merge "Move all possible function tests into scenarios"
Merge "Assert that all function exceptions have the function name"
Make Fn::Select accept an integer selector again

Closes-Bug: #1245863

Change-Id: I364da88f1c581b406d51e1b584778c7dd4e2564f
Merge "Fix sqlalchemy models"
Merge "Fix sqlalchemy migrations"