A fucking big commit!

- gitignore is ok now
- re-arranged the package.json
- some code cleanup (use jshint!!!!)
- added stub for mail test
- and so on
Merge pull request #1 from xseignard/master

A fucking big commit!