Move loadapp to a generic place
Move loadapp to a generic place

This commit moves loadapp to BaseTestCase so that it can be
used by test classes inheriting from BaseTestCase without having
to invoke all the extra stuff from TestCase.

Change-Id: Ida1e7b65a5d88e03701fe0334155f1eb5d03ae86

openstack/keystone,openstack/keystone,mahak/keystone,mahak/keystone,mahak/keystone,openstack/keystone