Fixes to make more robust to Zotero errors

*Catch an additional 500 error
*Deals with differing data structure from some
translators (i.e. extra wrapping array)
*Some style fixes
*Logging requests to console

Change-Id: I55ab63c84898827c32f69bf246695307d379ad7c