Tests for stream errors and callbacks implemented.
Tests for xml decoder added.
xml decoder is now a little more generic
More tests added.
More tests.
Tests finished
Documentation finished