Bump nokogiri to 1.8.4 and sanitize to 4.6.6
sanitize 4.6.6 has this optimization that will benefit Markdown rendering: https://github.com/rgrove/sanitize/pull/183
nokogiri 1.4.4 has this memory leak fix: https://github.com/sparklemotion/nokogiri/pull/1771
This mirrors changes for https://gitlab.com/gitlab-org/gitlab-ce/merge_requests/20795.