update .gitignore

ignore eclipse and CDT project files and metadata
ignore C++ compiled object files