Added callback listener for checking response headers.

Will allow a listener to check the headers from any Api response, useful
for management of Wikipedia Zero state.

Change-Id: If53cef6665611ad9604c60e1206c3aabd7e19d96