Change project setup

introduce src directory
adapt file names to naming guidelines
extend umd pattern to support node
add grunt support
add mocha test runner for node and phantom
add connect
refactor tests using mocha, chai