Fix sysrev-related error handling

Don't ignore errors from `getHead`.
Don't return strings as errors as they lose stack information.
Don't obscure exceptions occurring in `getRevision` callbacks.
Merge pull request #16 from nearform/better-sysrev-error-handling

Fix sysrev-related error handling