adding subdirectory support for routing
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.
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.
Translated docblocks and comments

I don't speak russian fluently, and heavily used the Google Translate
engine. So my translations may not be accurate.
Removed debug sentence
Fixed docblock syntax in autoload
Removed vim swp files
Enhanced Request URI detection

If the DOCUMENT_ROOT has a final /, the URI detection fails at cutting the prefix.
fixed syntax error on Request
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.
fixed superglobal name and substr() usage in Request
Fixed URL matching.

There was errors in substr, dirname and strpos functions.
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.
Added URL method in view

Every web application framework has to deal with dynamic routing, and must
provide a way to dynamically call an URL, only knowing its route name.
The View class now provides an url() method, which will generate the correct
URL (with URL prefix) of a route, with parameters filled. It can also get
an URL for static ressource (useful in case of URL prefix).
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]+.
removed var_dump debug call
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.
fixed docroot fetching on Windows
adding possibility to define a custom APPLICATION_PATH