Added a .gitignore file.
Changed the C++11 flag for gcc to be -std=c++0x, since -std=c++11 only exists in gcc 4.7 and up.
Added librt.so to the linker for shm_* and clock_gettime