Tests & validation

closes #2

Aded jsLint, mochacli for tests, grunt, travis, dependencies etc
Merge pull request #5 from ErisDS/validation

Tests & validation