Refactor client.py, change yield to return in cases where only 1 result will ever be returned
Merge pull request #4 from jcoveney/jco/update_client

Change yield to return in cases where only 1 result will ever be returned