added missing alias for PhApplication; fixed instanceof check on line 57 (issue #89)
Merge branch 'hotfix/issue-89' into develop