Tests & validation

closes #2

Aded jsLint, mochacli for tests, grunt, travis, dependencies etc