Fixed initialisation order in empty iOS projects

Also fixed missing entitlements in empty iOS projects
This fixed bugzilla https://bugzilla.xamarin.com/show_bug.cgi?id=20957
Merge pull request #611 from 7sharp9/bugzilla20957

Fixed initialisation order in empty iOS projects