Increased python 3 compatibility, fixed bugs, new NixIterator

- python 3: replaced izip with zip, iteritems with items, and removed use of types
- bugs: in file factory made possible field value a tuple if list
- new NixIterator: uses more features of nixpy