[Android] Improve the illegal character handler in packaging tool.

  When the package name include the illegal character is '.', the
packaging tool doesn't handle it and other illegal characters are
handled but no prompt. This fix is to improve the illegal character
handler in the packaging tool.

BUG=https://crosswalk-project.org/jira/browse/XWALK-139