Update docs with info on tests
Stupid issue.

With jquery  > 1.8.3, $(window).trigger('focus') doesn't trigger the handler.
Manually focusing the window does however trigger the handler.
Fixed paths in tests_main.js and tests.html
Bugfix. Get value from val() method, not attr.