- Added new config feature "formats" - Supported HEAD tag

"formats" feature allows using the same route with different types (json, html, xml)

"detail": {
    "method": "GET",
    "path": "/vehicles/:vin",
    "handler": "detail",
    "browser": "true",
    "formats": ["json", "xml"],
    "params": {
        "vin": {
            "regex": "([A-Z\\d]{17})-?.*",
            "kind": "rest",
            "enabled": true
        }
    },
    "enabled": true
}

Examples:


    http://test.com/vehicles/19UUA9F25EA001983-used-2014-acura-tl--woodside

    http://test.com/vehicles/19UUA9F25EA001983-used-2014-acura-tl--woodside.json

    http://test.com/vehicles/19UUA9F25EA001983-used-2014-acura-tl--woodside.xml

And in controller we have reachable current type httpContext.format.json or httpContext.format.xml