move all tests to shared
begin fixing webdav bugs highlighted by shared tests
fix more bugs exposed by tests
only one test fails now
fix last bug
more flexible mime type check
fix jshint error
remove unused functions
fix lint errors
enforce mime type at start of string
remove unneeded slice polyfill
missing semicolon
consistent argument order
test whole string in onReadFileRequested
switch to Number.isNaN polyfill
one line
Merge pull request #48 from lavelle/shared-tests

Finish converting unit test suites to shared suite