[Tizen][Runtime] Check the package type using application id instead.

Crosswalk runtime will check an installed web application type according to the
configure file name, if there's config.xml, it represents a WGT package, and
manifest.json represents an XPK package. But if a package have both of them,
it's always identified as XPK package, no matter it's actually a WGT or XPK
package. The patch will change to check the package type using the application
id, the tizen style app id represents a WGT package, xpk style id will be
identified as XPK package.

BUG=XWALK-2220
GetPackageType needs only one input parameter at a time so, imo it is better to be a bit different way:

// FIXME: This function is wrong and has to be re-implemented further (see XWALK-2230)
bool GetPackageType(const base::FilePath& path, ... ) {
}
#if defined(OS_TIZEN)
bool GetPackageType(const std::string& app_id, ... ) {
}
#endif

and then on caller side:

#if defined(OS_TIZEN)
if (!GetPackageType(application_id, &package_type, error))