Support android

Make wip branch build (closing brace, tests not updated for master rust)
Add android support (update mdb to a version that correctly builds with ndk, update makefile to support ndk-build). 

Makefiles are not my strong point and ndk-build is not supper cooperative, so the update may be pretty naive.