Dependency Injection: Allow to declare refs for use in by-factory
injection.
Add some test: Ensure we can inject a File ref. Will be used for dataDir
in web.xml files.
Clean up test class inclusions. Add Mockito as a test framework.