Rack::CORS middleware

Attached is some very simple middleware to allow Cross Origin Resource Sharing for a flexible list of domains. The list of domains that is passed as an argument to the middleware can contain the same kind of wildcards that shell globs can (underneath the hood, I use `File.fnmatch?` to check Origins against patterns).
@RafeKettler please rewrite this with an instance variable, thanks!