Pull up couch_httpd:body/1
Reorder clauses to reduce diff noise
Check that a request body was sent before decoding

BugzID: 14114
Remove log statement
Allow custom Bad Request errors

BugzID: 17352
Reorder clause to reduce diff noise
Use the design doc cache for design requests

This will use cached design docs for all of the various design handlers
like views, shows, lists, and rewrites.
Reduce log level of batch error
Start a dedicated process to manage config changes

Also, restart chttpd only if the setting actually changed.

BugzID: 13179

Conflicts:
	src/chttpd.erl
Monitor attachment fd's in all cases

Of course there are three separate paths to retrieve attachment
bodies, so let's monitor the Fd in all of them.

BugzID: 16492

Conflicts:
	src/chttpd_db.erl
Remove unused UTF-8 function
Expose mem3_sync backlog size
Report name of rejected attachment

Some users make requests from inside a black box with a blindfold on
and their eyes closed and are thus sometimes unaware of the names of
their own attachments. Let's help these people.

BugzID: 17669
Use chttpd for body calls

Conflicts:
	src/chttpd.erl
	src/chttpd_db.erl
Use interface fun instead of direct #group access

BugzID: 13487

Conflicts:
	src/chttpd_view.erl
Return body timing in response header

Conflicts:
	src/chttpd.erl
Respond politely with 404 if show/list/update is missing

BugzID: 14105
DDoc is a #doc{} not a {[]}

BugzID: 17515
Improve illegal_database_name error message