Update the glance-api manpage

Change-Id: I8219b29c468f094085a3182d19c3354aca091cd7
Partial-Bug: #1238366
Change assertTrue(isinstance()) by optimal assert

Some of tests use different method of assertTrue(isinstance(A, B)) or
assertEqual(type(A), B). The correct way is to use assertIsInstance(A, B)
provided by testtools.

Change-Id: Ia8d38f73c159c7ef943a8f6cfe72b945cc493947
Closes-bug: #1268480
Fix tmp DB path calculation for test_migrations.py

The method used by glance/tests/unit/test_migrations.py for
calculating tmp DB paths for sqlite connections works only when the
test tmp DB is in the current directory. When the test tmp DB is in
another directory (specified by an absolute path), the path calculated
is wrong. Consequently the test resetting function thinks the DB has
been reset (because the path calculated does not exist) but the actual
test fails because the db in the actual path has not been cleaned up.

This commit corrects the path calculation logic to handle absolute
paths as well.

Fixes bug 1263639

Change-Id: If747da25f40d92cf10ac5ac8addeb768f90e38cd
fixing typo in rst file

Change-Id: I5e8e08300abb783f2e7c1c9339e1295295526293
Merge "Fix tmp DB path calculation for test_migrations.py"
Merge "Update the glance-api manpage"
Merge "fixing typo in rst file"
Merge "Change assertTrue(isinstance()) by optimal assert"