Refactor use of byte arrays
Previously, byte arrays were implemented as string with values from 0 to 255 inclusive. Some runtimes such as Node and modern browsers have native array implementations. These should be faster.
This commit changes changes WebODF to use the native arrays. Since byte arrays differ across runtimes, they are now abstracted by the Runtime.
Some work on a possible cursor implementation.
fix tests to new UnitTester class
small changes towards a better cursor
Add test for writing of data and fix it for firefox. for other browsers this will be really hard.
Store mtime in zipfile and also retrieve it.
Add very simple support for writing zip files
Zip files written are not compressed, have wrong crc and mtime set to zero.
Make function for converting string yield to the main loop so it does not freeze UI.
Also available in: