Increase timeout
Extract test helper
Add karma and grunt for testing
Rename tests -> test
Rename lib -> src
Update README