[Android] Fix some Java compiling warnings for Crosswalk.

Since some webkit APIs and Android OS APIs are deprecated as the
updated Android OS version, there are compiling warnings in Crosswalk.
This fix resolves these issues by using specific modes, for deprecated
parameter type in API, we suppress the warnings, for the deprecated APIs,
the compatible APIs are used to replace them accordingly.

BUG=https://crosswalk-project.org/jira/browse/XWALK-1064