DS-1719 Added statistics recording to Jersey-REST API

https://jira.duraspace.org/browse/DS-1719

(this required changes in DSpace API!)

Also some changes to make REST API work better with XML output.
Added Checksum and sequenceId to Bitstream.