Add doctest support to nrrd.py when run standalone
More robust header parsing

In particular, fixes parsing headers where the value of a key-value pair
contains a ": " string.

Exposes read_header. Adds documentation and simple doctests. Uses
terminology consistent with the NRRD specification (e.g. field/desc and
key/value).