Added jshint, jscs conf. Fixed code to make both happy.

- Added lint, code-style check to serve task.
- Added gulp tasks to lint, cs-check, release, build and clean.
- Moved demo file to the root.