Included OS generated files and IDE files in gitignore.
Migrated from Google Code SVN r2980. Stripped off unused modules.