Ported build_mobile.sh to build_mobile.py

To aid in packaging mobile builds, we should be able to run pre-build
scripts from Xamarin.Studio or VisualStudio that are platform-agnostic.
 Porting the build_mobile.sh to python is a first step.