Basic typed objects encoding (no decoding yet)
Rework tests

Split tests into separate encoding and decoding ones. Compare expected
results against binary output taken from Zend AMF3 serializer.