add a way to get the NAOqi version

This is basic but it will help to be past/future proof (e.g. log / octomap bridges will only work on 2.x).