Fix for CMake build type default flags being lost

The CMakeLists.txt adds -std=c++11 and related compiler flags, but looses default flags specified by CMake build type.
For example, -DCMAKE_BUILD_TYPE=Debug has no effect, as -g flag gets lost.
Merge pull request #2 from mloskot/cmake-flags-fix

Fix for CMake build type default flags being lost
Add headers to sources to enable file browsing in IDEs

By adding headers to sources of targets, CMake adds them to list of project files generated for IDEs.
This is non-intrusive trick, which does not affect targets compilation.
Merge pull request #3 from mloskot/cmake-headers-to-sources

Add headers to sources to enable file browsing in IDEs
Merge branch 'release/0.9'

Conflicts:
	tests/CMakeLists.txt
Merge branch 'release/0.10'
Merge tag '0.10' into develop

Minor interface cleanup