Changed hasattr __iter__ check to not isinstance(result, str).
Merge pull request #27 from petteraas/type_check_python3

Changed hasattr __iter__ check to not isinstance(result, str) for Python3 compatibility.
Travis now supports Python 3.4
Merge pull request #28 from petteraas/travis_python_3.4

Travis now supports Python 3.4