Use #pragma once instead of #include guards

#pragma once is supported by all modern compilers:
http://en.wikipedia.org/wiki/Pragma_once#Portability
Unittest target
Fix copy-constructor of RefCounted
Add const modifier to CValue.forwardedRValue