Fix bug where getBean(String, Class) does not return proxied bean.

Resolve #12.
Merge pull request #16 from InfinitumFramework/getbean-fix

Issue #12 fix