Swift packages should be optionally installed.

Create a subset of swift packages to be installed only
if asked for by the default_store attribute.
Added unit tests for ubuntu and redhat.

Change-Id: I8ed5d543d87b180148e0aa4b556ab8cbc4802f2e
Adding guard around deleting sqlite db

* Don't delete if node.openstack.db.image.db_type is set to sqlite

Fixes: bug #1249182
Change-Id: I5ab84df0eac6d4642476d9c19dbfdbbb473b42bf