Basic Security Groups implementation

Change-Id: I6a7f9953206f28b2b1fa6223bcceab60ddaadb13
Closes-bug: #1308623
Merge "Basic Security Groups implementation" into release-0.5