[Android] New Embedding API

This commit implements onCreateWindowRequested of XWalkView
Also fixed the type error when generating some wrapper interface
There is `getNavigationHistory` as public API for this usage. you can use that.