Added migrations for security groups stuff.
Merge pull request #1 from capooti/pr/1406

Added migrations for security groups stuff. thanks @capooti!