Changed ReflectionFunctionAbstract to ReflectionFunction in Route

The routing engine stores controllers as ReflectionFunctionAbstract,
and the Response object calls $controller->invokeArgs(), which is a
ReflectionFunction method. So I changed the signature of the concerned
methods/attributes.
Fixed docblock syntax in autoload
adding subdirectory support for routing

Conflicts:
	bottle/request.php
enhanced regexp for URL checking

Currently, an URL parameter is catched by '[^/]+' regexp. It does
not allow to write routes like '/news/:id-:name.html'.
This commits modifies the regexp, making it ungreedy and catching '.+'
for the param values.

Conflicts:
	bottle/route.php
Enhanced Request URI detection

If the DOCUMENT_ROOT has a final /, the URI detection fails at cutting the prefix.
replaced strlen with mb_strlen for correct URL prefix delimitation

If a non-ASCII character is found in the URL prefix, strlen() will count it as
more than one character, thus failing at truncating the prefix.
URL params are not parsed in URI anymore

Instead, these are managed by the Request class, with the new
getParams() and getParam() methods.

Conflicts:
	bottle/request.php
Fixed URL matching.

There was errors in substr, dirname and strpos functions.

Conflicts:
	bottle/request.php
Removed possibility to use underscores in route param definition

It should be possible to use route masks like "/path/:id_:slug.html", explicitly containing
a … in the URL. It’s currently impossible because of the param regexp, that now matches only
[a-z0-9]+.

Conflicts:
	bottle/route.php
Merge branch 'fixes' into request-enhancements
Added headers management in Request object
Fixed URL fetching in Request

If Bottle is used within document root, the Bottle_Request::_docroot
is / and the uri is an empty string. Now, the uri begins with a / in
any case.
added $request and $response as global objects

We need to access those objects, for example to access request params,
or set response headers. So the controllers can now declare $request
and $response as global vars to achieve this.
fixed headers fetching
Merge branch 'request-enhancements' of github.com:gordon-/php-bottle into request-enhancements

Conflicts:
	bottle/core.php
	bottle/request.php