Avoid NPE when getObjectType()'s called before initialization

According to javadoc: http://static.springsource.org/spring/docs/2.5.x/api/org/springframework/beans/factory/FactoryBean.html 

method can be called before initializtion.
Merge pull request #47 from welvet/patch-1

Avoid NPE when getObjectType()'s called before initialization