Added unit tests and basic dictionary support

Wrote some basic tests to check that data types remain unchanged by loading + dumping.
Also added support for python dictionaries. Does NOT yet support dictionaries of dictionaries.
However, dictionaries can include numpy arrays.