Change project setup

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