Annotate injected object's methods for Android >= 17

Otherwise, they're not available from inside the Javascript.

Fixes #400.