HRCPP-25 Remove all compiler warnings so that compiling with -Werror passes

https://issues.jboss.org/browse/HRCPP-25