Refactoring shouldEncode

Moving shouldEncode from WisdomHandler to EncodingHelper
Refactoring shouldEncode and parseAcceptEncodingHeader

* shouldEncode is now in EncodingHelper

* parseAcceptEncodingHeader now correctly handle wildcard "*"
Adding documentation for content encoding