Fix NPE when <application> declaration is not included in
infinitum.cfg.xml.

Resolves InfinitumFramework/InfinitumCore#18.
Merge pull request #35 from InfinitumFramework/issue-18

Fix NPE when <application> declaration is not included