[Runtime] Fix the bug that one XPK package can install multiple times
without any error report.

The XPK package should generate the application id using public key
which is contained in XPK package header.

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