Updating to new versions of libraries :
 * Weld 2.2.0.SP1
 * Hibernate 4.3.5.Final
 * Resteasy 3.0.7.Final

Plus big clean of the code.