Upgrade to cmake 3.0

Also set correct version number in project and build examples separately.
Merge branch 'develop' into ref-homebrew

Conflicts:
	CMakeLists.txt
	src/autowiring/CMakeLists.txt
Add library export for autowiring
Fix cmake for examples
Merge pull request #127 from leapmotion/ref-homebrew

Upgrade to cmake 3.0