.gitignore added

merged from https://raw.github.com/github/gitignore/master/C.gitignore
and https://raw.github.com/github/gitignore/master/Autotools.gitignore
.gitignore enhanced
Add json export support
Updated code indentation and formatting.