Tiny improvement in the documentation of render middleware.

What is actually render.master about.
modern browsers support most request methods

per spec, for a XMLHttpRequst they must allow: 
DELETE, GET, HEAD, OPTIONS, POST, PUT

<form> can only do POST&GET

forbidden are:
CONNECT, TRACE, TRACK
add `options` method to route middleware
add middleware for CORS

implementing resource processing per w3c spec
http://www.w3.org/TR/cors/#resource-processing-model

the biggest deficiency is that CORS config applies to the whole app
and currently can not be configured per route ("resource")
Merge pull request #19 from mcepl/renderDocs

Tiny improvement in the documentation of render middleware.
much needed example for file upload
Adds support for a baseURI in front of a ressource.
Adds pathInfo to unhandled request error.

This makes debugging easier and helps to understand errors raised by
/favicon.ico requests by browsers.
Merge branch 'master' of https://github.com/ringo/stick
jsdoc fix
Merge branch 'master' of https://github.com/ringo/stick
scheduler is global
bump version
simplify language; add redundant info; add example
fixes preflight request executing the protected route
typo
fix factory name
if Access-Control-Allow-Origin is generated dynamically, we should add 'Vary: Origin' header so responses for different origins are not cached
see http://www.w3.org/TR/cors/#resource-implementation
Merge pull request #39 from herrernst/master

Add 'Vary: Origin' header
refactor cors; fix header checks; add Vary:Origin

i split the simple-cors and preflight-cors; this introduces some minor
duplication but is imo easier to read and maintain

also updated the section numbers to most recent spec

also fixed the header name checks - all headers are lowercase if
coming from ringo