Refactored KLVStream to inherit from Node's Stream
Strengthened stream testing

Tidied up the new KLVStream code and strengthened the unit tests.