Merge: Android version code

This should help FDroid understand our packages.

Pull-Request: #433
Reviewed-by: Jean Privat <jean@pryen.org>
lib/standard/string: Bugfix, forgot iterator on index_of_from

Signed-off-by: Lucas Bajolet <r4pass@hotmail.com>
lib/standard/string: Added implementations for to_upper and to_lower on FlatBuffer

Signed-off-by: Lucas Bajolet <r4pass@hotmail.com>
Merge: String bugfixes

An iter.next was forgotten when implementing methods in string.nit, also to_lower and to_upper were not present in FlatBuffer.

This fixes both issues.

Pull-Request: #435
Reviewed-by: Jean Privat <jean@pryen.org>
Reviewed-by: Alexis Laferrière <alexis.laf@xymus.net>
Reviewed-by: Alexandre Terrasa <alexandre@moz-code.org>
ffi/java: fix typo

Signed-off-by: Alexis Laferrière <alexis.laf@xymus.net>
ffi: move up Set of callbacks by foreign language

Signed-off-by: Alexis Laferrière <alexis.laf@xymus.net>
ffi/java: use existing Set of callbacks per language and modules

Signed-off-by: Alexis Laferrière <alexis.laf@xymus.net>
ffi/java: support callback to method returning virtual types

Signed-off-by: Alexis Laferrière <alexis.laf@xymus.net>
ffi/java: fix freeing ref to Java class on execution of Java implementation

Signed-off-by: Alexis Laferrière <alexis.laf@xymus.net>
ffi/java: clean up JNI's local refs in android_app.nit

Signed-off-by: Alexis Laferrière <alexis.laf@xymus.net>
ffi/java: shorten name of generated Java class for easier debugging

Signed-off-by: Alexis Laferrière <alexis.laf@xymus.net>
ffi/java: fix support of Boolean types in JNI signature format

Signed-off-by: Alexis Laferrière <alexis.laf@xymus.net>
Merge: Many small fixes to Java FFI

- Clean up code
- On the way to fix #437
- Plug leak of JNI local refs

Pull-Request: #438
Reviewed-by: Alexandre Terrasa <alexandre@moz-code.org>
Reviewed-by: Jean Privat <jean@pryen.org>
Merge branch 'master' of github.com:jpages/nit into nitvm