add license block
break out setup into setup.js
fix constructor test for firefox
remove broken test case
allow for headless testing
Add automatic testing with Testacular
Clean up PointerEvent constructor

- No __proto__ magic, just use mouse events
- use new MouseEvent constructor if possible