Remove charset from json mimetype, fixes compatibility with sinatra edge.

Set :add_charset option for old sinatra version.

Replace `unless~else` with `if~else`, remove an array.
Merge pull request #1505 from padrino/remove-charset-from-json

Remove charset from json mimetype, fixes compatibility with sinatra edge.