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