* new tests and fixed some compiler warnings

* fixed some bugs in the bytestream
* ... there is still an issue in cavepacker left - map 0003 segfaults