Migration bug fix

Fix #268
Problem as described by @naegelyd 
`The issue was that permissions and content types for models in an app are automatically created int he DB when the app is created. The initial_data has natural keys for content types in the permissions list referring to the samples app so that is why it needs to be first`
Signed-off-by: Sheik Hassan <solergiga@yahoo.com>