Modified CMakeLists.txt for automoc support
Fixed header guards. Adde JREEN prefix to all of them