Adding generics to work with CDI 1.2

as discussed on https://github.com/caelum/vraptor4/issues/897#issuecomment-68350679