updated vdf.py

* added exceptions when pasing incorrect type to function
* added dump(), turns a dict into VDF
* added test(), a few simple test for parse() and drump()

NOTE: parse() does not validate VDF format.
Invalid VDF will produce unexpected results