Upgrade to cmake 3.0

Also set correct version number in project and build examples separately.