add http verbs methods to Router

By having the method verbs available on the router, users can set up
disjoint routers and organized paths easier.

It is now possible to have a .js file export the router.middleware and
attach these paths using an `app.use('/path', middleware)` call. This
means that any routes written in the separate file do not need to have a
full path hardcoded as they can be mounted by the application anywhere.

This is already possible using `router.route(verb, args)` however is
needlessly verbose without this patch.
fix jsonp whitespace escape. Closes #1132
Merge pull request #1454 from shtylman/router-http-methods

add http verbs methods to Router
change router callback check error message

to read:

Error: .get() requires callback functions but got a [object String]
Don't mangle the options object in res.cookie

Make a copy of the cookie options before mutating it to pass to
cookie.serialize. This prevents unexpected things from happening when
we try to use the same options object multiple times.

Also add a test to verify that the options object does not change
after a request is made.
Merge pull request #1458 from gmethvin/cookie_options

Don't mangle the options object in res.cookie
update connect
Release 3.0.6
Allow colons in passwords for req.auth

Passwords in basic auth can contain colons (as per RFC2617), while
usernames cannot, so assume everything after the colon is a password.
This makes req.auth return the correct value if the user uses a colon
in his password.
Merge pull request #1462 from gmethvin/colon_auth

Allow colons in passwords for req.auth
Add full extname support to the "view engine" setting; e.g., ".jade".

This allows View to support a `defaultEngine` (a.k.a. an app's
"view engine" setting) which contains a ".", for example:

```
app.engine('.jade', jadeEngine);
app.set('view engine', '.jade');
```

This brings View's handling of template filename extensions to parity
with `app.engine()`.

This allows an app's "view engine" setting to be a full extension name,
including the ".".
implemented res.location
refactor vhost example
refactor vhost example
use app.get() for x-powered-by setting

see: http://stackoverflow.com/questions/14285050/broke-up-express-app-into-submodules-now-my-custom-x-powered-by-does-not-wor
change prev commit to use app.enabled()
Add subdomain offset setting

Add a setting "subdomain offset" for the app, which can be used to
change the behavior of req.subdomains. This is useful when our "base"
domain contains more than two parts, e.g. example.co.uk, and also
when we are running locally with domains like xxx.local.

The default behavior is still to return all but the last two parts.
Allow setting an array of header values in the response

Make setting multiple header values using an array work as expected.
If the header value is an array, coerce the values to strings instead
of the entire array.

Fixes #1419.
Merge pull request #1475 from gmethvin/subdomain_offset

Add subdomain offset setting
move "subdomain offset" defaulting to config