Touch and Mouse handlers tests

This is branch for mouse/touch tests on tablet-pc (windows 8 pc with
touch screen)
Minor fixes
Removes jQuery `data()` calls and refactors core `refresh()`