add cmake build script
specify include dirs for cmake targets individually
add test generation and running to cmake script
exclude everything from default make target, add rwlock-tests target
replace shell-based build scripts with cmake