update .gitignore

ignore eclipse and CDT project files and metadata
ignore C++ compiled object files
Merge pull request #1 from P4/master

update .gitignore