Rewrote MIME type setter as a decorator
Tweaked GitHub webhook unauthorized IP error message
Added "jsonify" decorator to encode returned data in JSON format

The encoding can be skipped at runtime by passing "jsonify=false" to the
decorated function.
Fixed secret key sometimes being set to a blank string

The issue only affected some (not all) non-Base64 encoded strings.