Introducing driver framework. db and glance implemented as drivers

Change-Id: If47bb1b7eb92e3eafe978ad63d60d801621b8952