Readme updated
CMakeLists.txt template added
microcounter example added, single threaded
Bugfix for g++ compiler and pthread

CMake adds link flag -lpthread for g++ instead of the appropriate
-pthread flag. This commit adds the -pthread flag to CXX_FLAGS and
removes the target_link_libraries directive if g++ is detected.
microcounter uses threads without mutexes
microcounter uses mutexes to protect data
microcounter pass arguments to increment