Fixed initialisation order in empty iOS projects

Also fixed missing entitlements in empty iOS projects
This fixes bugzilla https://bugzilla.xamarin.com/show_bug.cgi?id=20957