Added ClientValidator module and its unit tests

- ClientValidator replaces the old validateData function
- Old server tests were removed (they were tests for validateData)
- Configured grunt test to run mocha