Fixed digest issues - invalid URLs and lower case of hex values of hashes

Confirmed working against MarkLogic REST server with Digest
authentication
Fix commit for webrequestutils
Removed debugging log statements, added some comments
Merge pull request #542 from adamfowleruk/master

Completed fix for issue #538