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