Bug fix for DOI lookup (server-specific type)

Sometimes it seems resp.json is an instance method, and sometimes it's a
dict. Using try/except to handle both cases.
Merge branch 'master' of github.com:OpenTreeOfLife/phylografter