Making JSON-RPC accept more content types

According to the RFC for JSON-RPC over HTTP at
http://www.jsonrpc.org/historical/json-rpc-over-http.html
"Content-Type SHOULD be 'application/json-rpc' but MAY be
'application/json' or 'application/jsonrequest'"

This patch fixes HTTPJsonRpcHandler to allow for any of those three
content types when accepting JSON-RPC HTTP requests.

This also fixes compatibility with the popular Python library jsonrpclib
which uses the application/json-rpc content type.
Merge pull request #2872 from tecknicaltom/master

webserver: allow JSON-RPC to accept more content types