Support xnat modification time

Added support for sending HEAD request to the XNAT API.
Head request is used to get the last modified time.