Remove support for calling add_library() instead of yarp_add_plugin()

CC-Issue: #157
Merge pull request #158 from kt10aan/master

OpenNI2 driver improvements