test(platform): fix unit tests for setting platform to null
feat($ionicLoading): add $ionicLoadingConfig constant for default options

Closes #1800