adding base path if the app is not running on the root of a domain

or running in the android_assets/ dir of an apk
adding more debug output when CORS fails

for testing on android
reducing loging in CORS
moving assets into android studio location