added gitignore, added jsdoc header and fixed jslint reported issues :)

Brief changes description - they are extremely minor, but a good start for me :)

1. `.gitignore` will ignore everything starting with a `.` beside the gitignore file itself.
2. Line ends are now proper unix format.
3. Changed header to jsdoc format - later on it will be easier to generate documentation.
4. Added `radix` to parseInt.
5. Added few missing `;`
6. Changed the main anonymous function execution format according to jslint suggestion.