Added stuff to cmake file for ide support.
Added qtcreator's CMakeLIsts.txt.user file to .gitignore.