Whitespace and typo.
Add support for the PHP 5.4 builtin web server

PHP version 5.4 brought with it a new built-in command line web server
that can be run using the `php -S localhost:4000 index.php` command.
The [Silex documentation][1] has more details, and, while the server is
not intended for production use, it's a huge time saver for local
development.

Unfortunately, Bolt doesn't currently work with this feature for four
reasons:

1. The logic in the `getPaths` function breaks asset paths when used
with the built-in server

2. The index.php understandably doesn't yield to static assets as the
server expects it to.

3. The CLI server doesn't understand the subtleties of the `thumbs`
route.

4. The `timthumb` class references images and file paths in a relative
manner, making it very fragile when the entry point changes. Perhaps a
better route would be to make these path'd absolutely using some of the
directory constants.

For all of these problems a comparison with `php_sapi_name()` and
'cli-server' is performed. If the app is running with the CLI server, it
returns false when a static asset is called. If the asset is via the
`thumbs` URL then the server performs the necessary manipulations to
send the request to the right place.

Note: I chose not to pollute the global constant namespace and continue
to check `php_sapi_name()` in every instance, although I doubt there's a
significant performance penalty.

Finally, while I did directly compare the cli-server with a correctly
configured Nginx instance, I haven't done any testing against Apache or
others. This commit also doesn't include any test cases.
Code formatting in timthumb constant definitions
Change cli-server check syntax for consistency
Merge branch 'master' of github.com:bolt/bolt
One last 'new config' thingy..
Allow both 'singular_slug' and 'slug' as contenttype in routes.
Updating composer.json for Doctrine DBAL 2.4.0.
Merge pull request #575 from ciarand/feature/php-builtin-server-support

The PHP 5.4+ CLI server is incompatible with Bolt
Updated Moment.js to version 2.2.1.
Updated Underscore.js to 1.5.2
CSS fix.
Added Redirector extension (v 0.3)

Courtesy of @mike-anthony
Updating routing.yml.dist
Bumping version to 1.2.0
Updated docs for Redirector extension
Added a default date for 'datedepublish', since SQLite migrations break when there isn't one.
Fix for edge-case: when requesting backend with custom routing, don't give 404, but show backend.
Bumping version to 1.2.1
Default param for getPaths(). Fixes #577.