Add iteration support

Includes directional support and simple iteration.  Also implements
sphia_strdup :)
Merge pull request #43 from sphia/add-sphia-iterator

Add iteration support