Cleaned up tests and added container implementation check for feature support.

Changed CdiWicketTester to use injected application view
CdiWebApplicationFactory.  This eliminated the need to use the
deprecated configuration pattern for configuring CdiConfiguration.
Added Feature checking based on implementation of CDI for nonstaticinner
classes and ananoymous inner classes.  Currently if the weld version is
2.0.2.Final or above it allows injection of the anonymous and non static
inner classes.  Added init params to disable the injection of anonymous
and non static inner classes if app developer desires to disable the
feature even if the container implementation supports it.