KNOX-414: WebHDFS HA enablement in web.xml is sensitive to order of context listeners

(cherry picked from commit 75daf4025a070c78fff2eb4bed4e5717336a9c86)
Merge remote-tracking branch 'origin/apache-ref/v0.5.0' into champlain