initial draft for libfreenect2 api based on libfreenect api
removed several functions, which complicate current implementation; added functions to support ir intensity frames
explicitly link in pthread on Linux/MacOSX