Pass on arguments on Base.get_session

This change makes it so that the arguments for the session
creation function get_session() get passed on when it calls the
function to create the session.

Change-Id: I2f889ab36bd3aa3bf4441a13eb2b610b54349cbb
Sync install_venv_common from oslo

Change-Id: I9ecacefeb772af7efe0345c3b2162295c4999cdd
Use InnoDB for MySQL

This change adds a migration to convert any non-InnoDB tables to
InnoDB.

On some systems, the default engine is MyISAM, which doesn't
support features used by Keystone (foreign keys).

The approach is the same as what's used in Nova. A test is added
to ensure that all tables use InnoDB after migration. The test
passes when all the tables are mysql_engine='InnoDB'. This is
accomplished by adding a new migration that migrates all the
tables that aren't InnoDB to InnoDB.

Fixes bug 1191110.

Change-Id: I220f7642f5468c5cf4194f248210f90ff983b6e5
Move temporary test files into tests/tmp

Add a new folder tests/tmp and move all temporary test artefacts like
sqlite dbs into the folder. This has a number of advantages:

- clean up .gitignore and tests folder.
- common/sql/util.py files didn't really belong in common as they were
  test only.
- by doing ``sudo mount -t tmpfs -o size=16M tmpfs tests/tmp; sudo chown
  $USER: tests/tmp`` tests speed up about 3x (ext4; credit ayoung's blog).

Change-Id: I9b02a5273dd27db963e9a26085b7456f4c5f6a41
Add crypto dependency

blueprint key-distribution-server
Change-Id: I5d025460ec75dd37a0fa0610c521ab5b49687745
Merge "Use InnoDB for MySQL"
Merge "Move temporary test files into tests/tmp"
Merge "Add crypto dependency"
Merge "Sync install_venv_common from oslo"
Merge "Pass on arguments on Base.get_session"