Next step: compile jni sources correctly.
Compiles correctly: app/build-native + gradle.
Rename app->bitmask_android

This way, gradle commands generate apks correctly named.
Build release apk using gradle.properties.

I ignore that file, it contains passwords, although I have encrypted it to myself.
Debug url files + Debug permissions
Danger on resources split into debug and release.

New provider dialog resources use danger_on checkbox in debug, but not in release.
This kind of solutions forces us to maintain 2 different codebases for the same class, so beware for next updates.

Next step: split java code.
Danger code removed from release apk.

I've copied all files containing "danger" to both release and debug java folders (solution learnt from http://stackoverflow.com/questions/18782368/android-gradle-buildtypes-duplicate-class), and removed every trace of any "danger" related code in the release apk.
This way, we make sure nobody can exploit that unused variable in production mode, so that if Android fails to protect our app (people have been able to introduce code into signed apks, so it's not impossible), we make it difficult to bypass the SSL certificate verification. You can call me paranoid if you want ;)
ProGuard enabled in release apk.
Transifex configuration.
Back to the standard "app" module.

This return to "app" instead of "bitmask_android" is due to this reading: https://developer.android.com/sdk/installing/studio-build.html#projectStructure
I'll have to tweak the final apk name in build.gradle.
Updated README.
Merge branch 'feature/implement-gradle-build-system-#4676' into develop
Fix first link in README.
Bitmask loads all preseeded providers correctly.

If you choose one and then tap "Switch provider" button, no duplicated providers are shown.
Instructions to build NDK sources.
Merge branch 'bug/readme-doesn't-contain-build-native-instruction-#5486' into develop
config.h needed by ndk-build
Merge branch 'bug/build-native-doesn't-compile-openvpn-from-latest-develop-#5488' into develop
update README build instructions to include build-tools, android support, and jdk.
Merge remote-tracking branch 'elijah/update-readme' into develop