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

Resolves #17.
Merge pull request #19 from InfinitumFramework/issue-17

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