Add input[directory] test
Merge pull request #965 from silverwind/master

Add input[directory] test
Handle class prefixing on no-js classes properly. Fixes #1031
update test to cleanup listener. fixes for #945
Don't assume non mp4 means ogg support