Fixed all the unit test failures for the Xamarin.iOS and Xamarin.Android components and did various cleanups