added cmake support (tested on Debian 7.7)
Merge branch 'develop'
Added multiple operating system support in cmake buildscript. Main idea: all os-related code should be places in src/os/<os_name> folder with hierarchy used in src folder itself.
Merge branch 'develop'