Don't create an application model for invalid bundle

* Return invalid model object if there isn't any valid bundle at the URL;
* Verify generated model before adding to the applications list;
* This also fixes a rare crash related to invalid bundleID and NSRunningApplication API;
Merge branch 'model-verification' into develop
Code cleanup