Remove autogenerated files from git and create .gitignore

This makes "git diff" and "git status" work properly,
Update Makefile to build with SM 5.0 by default

also include optional CUDA_CFLAGS parameter