Add HEAD support for most requests

HEAD returns appropriate HTTP headers (Zotero-Library-Version,
Total-Results) but no data.

Some institutional networks don't support HEAD requests, so it probably
shouldn't be used in general clients or libraries. In most cases there
are also better alternatives to HEAD, such as making conditional
requests with If-Modified-Since-Version, but there are a few cases where
HEAD might come in handy.