JCS-120 add CDI support and fix TCK

I Just applied it. Patch provided by rmannibucau.
Thanks for your work, Romain!


git-svn-id: https://svn.apache.org/repos/asf/commons/proper/jcs/trunk@1592277 13f79535-47bb-0310-9956-ffa450edef68