api_client.py uses first config file found.
Fix crash when config file missing.
Merge pull request #1 from mikehuston/master

Fixed two fairly major bugs.