added jsjint config
moved 'src' directory to 'lib'
first setup for karma tests
updated usage in README.md
Merge pull request #9 from mrzmyr/add-basic-tests

Add basic test setup