WICKET-5686 @Inject should require the bean dependency instead of setting null

Make fields annotated with @Inject required (Spring)
WICKET-5686 @Inject should require the bean dependency instead of setting null

Add test case for Guice