[Android] Refactor the python script to prepare xwalk core library

Use list of files/directories to avoid duplicated code for copying.
Merge pull request #1055 from wang16/refactor_prepare_core_py

[Android] Refactor the python script to prepare xwalk core library