Encoding and decoding of ASCII PList working

Also added some simple tests. A bit harder to test more complicated structures since
hash tables might shift members around.