New OpenNI2Generic class

OpenNI2Generic contains the basic functionality of OpenNI2. OpenNI2Sensor and OpenNI2_RGBD360 inherit from the new generic class.

Fix in the CMakelists.txt of srba-examples. Do not compile the examples if the library is not compiled.