Added dirname flexibility to .gitignore parameters

- Added 'bin' parameter
- Added subgroup declaration for files w/ the declared extensions