Move db tests base.py to common code

tests/unit/db/sqlalchemy/base.py moved to
openstack/common/db/sqlalchemy/test_base.py for further reuse in other
projects.

Change-Id: I5cf83a63f148f48ff7c38a1ad4cc714f08e60fd1
Merge "Move db tests base.py to common code"