Speed up and move couch_httpd:find_in_binary.

See https://issues.apache.org/jira/browse/COUCHDB-1953
Merge branch '1953-fix-mime-multipart-parsing'