more rigorous constness and avoid copying
Merge pull request #4 from ignatz/constness

more rigorous constness and avoid copying
cmake style fixes
Merge branch 'master' into vim