Make parse_external_response work with binaries and lists

COUCHDB-2328
Add CORS headers to chttpd_external:send_external_response

COUCHDB-2328