Bump build number and version to 0.5.2RC1
Clone ics-openvpn repository with gradle hg plugin
update ics-openvpn code gradle task
Pull before updating ics-openvpn hg repository
clone ics-openvpn up-to-date if its folder exists
Copy all java files from ics-openvpn.

imports from se.leap.bitmaskclient java files have also been updated.

WARNING: compiling errors for de.blinkt.openvpn.R, aidl.de.blinkt.openvpn.
Copy aidl too.

WARNING: there are still compiling errors, related to BuildConfig and R
classes in de.blinkt.openvpn
Filter R and BuildConfig to use ours.
remove ics-openvpn strings from strings.xml

I privilege ics-openvpn translation to ours. If we need to change
something, we can introduce a new xml element without any future
compatibility problem with ics-openvpn.
Copy some necessary icons from ics-openvpn.

I'm hardcoding their values based on the compilation errors (i.e., the
drawables referenced by de.blinkt.openvpn.core.OpenVpnService). If a new
drawable were introduced, build.gradle should be updated accordingly.
bitmaskclient.R in de.blinkt.openvpn top level
Copy necessary activities and fragments.

Now we need to decide what's our relationship with LogWindow and
LaunchVPN, refactor its classes and fix ours so that we use the
currently supported methods.
We need mercurial to fetch ics-openvpn.
Resources merge correctly.
No AIDL nor api, logfragment related xml files

api folder and aidl files aren't needed for us. They are used for
external apps that want to use ics-openvpn as an already installed
package, while what we want is to avoid the installation of ics-openvpn
including it (refactored) in bitmask android.
Last ics-openvpn compilation problem fixed.

Forgot to add the menu for the log.

Now we'll strive to fix se.leap.bitmaskclient problems: first compilation, then functionality.
Thread management has changed. Updated.

Now the thread managment doesn't happen statically, but through the
binded openvpn service.
ics-openvpn receives ifconfig from the server.

Refactored AndroidManifest to include launchvpn and openvpnservice.

Imported changes from ics-openvpn-upstream
LogWindow declared in AndroidManifest.
Updated to build tools 19.1.