improved nginx config. It's secure by default now.
Add a `SerializerServiceProvider`.

Usage
-----

```php
<?php

use Silex\Application;
use Silex\Provider\SerializerServiceProvider;
use Symfony\Component\HttpFoundation\Response;

$app = new Application();

$app->register(new SerializerServiceProvider);

// only accept content types supported by the serializer via the assert method.
$app->get("/pages/{id}.{_format}", function ($id) use ($app) {
    // assume a page_repository service exists that returns Page objects. The
    // object returned has getters and setters exposing the state.
    $page = $app['page_repository']->find($id);
    $format = $app['request']->getFormat();

    if (!$page instanceof Page) {
        $this->abort("No page found for id: $id");
    }

    return new Response($app['serializer']->serialize($page, $format), 200, array(
        "Content-Type" => $app['request']->getMimeType($format)
    ));
})->assert("_format", "xml|json")
  ->assert("id", "\d+");
```
Make the event dispatcher class configurable.
Create Application::on() method to add an event listener
Switch dependencies to stable versions
Adjust minimum-stability in skeleton files
Update doctrine/dbal require-dev to 2.2 branch
Update doctrine constraint for fat skeleton as well (danke @stof)
simplified form factory creation
Aren't parameters set after the provider is registered ?

fabpot/Silex@9766faf0616a67cd0ff7437950d5453deebac9c4
Grammar tweak
prevented the execution of the before middlewares when an app before filter returns a Response (refs #452)
merged branch igorw/stable-deps (PR #480)

Commits
-------

20124e9 Update doctrine constraint for fat skeleton as well (danke @stof)
99451f2 Update doctrine/dbal require-dev to 2.2 branch
a189265 Adjust minimum-stability in skeleton files
3bc1e73 Switch dependencies to stable versions

Discussion
----------

Switch dependencies to stable versions

---------------------------------------------------------------------------

by stof at 2012-09-08T20:12:19Z

you also need to update the files of the skeleton for the archives

---------------------------------------------------------------------------

by igorw at 2012-09-08T20:22:33Z

Both done.

---------------------------------------------------------------------------

by stof at 2012-09-08T20:51:06Z

Please update DBAL in the fat archive too
updated deps
Add stability to dev for archive skeletons (fix GH-489)
merged branch GromNaN/archive-composer (PR #491)

Commits
-------

6418592 Add stability to dev for archive skeletons (fix GH-489)

Discussion
----------

Add stability to dev for archive skeletons (fix GH-489)

The Silex archives are not correctly built since the minimum-stability option was removed from composer files : a189265aa7ac2d2417f316286410f416139b6778

There is no stable version of Silex available yet.

Fix GH-489
merged branch bamarni/master (PR #481)

Commits
-------

ab54a1b simplified form factory creation

Discussion
----------

simplified form factory creation
merged branch GromNaN/patch-6 (PR #442)

Commits
-------

a51a9a1 Make the event dispatcher class configurable.

Discussion
----------

Make the event dispatcher class configurable.

<del>After 81bafcc6ae67db7aa3be49db382287efe02dfbd4</del> There is no easy way to modify event dispatcher class.

This PR allows @davedevelopment to use a customized class like this #426.

---------------------------------------------------------------------------

by igorw at 2012-07-18T12:36:52Z

+1

---------------------------------------------------------------------------

by davedevelopment at 2012-07-18T12:41:07Z

+1, I'll settle for this :)

---------------------------------------------------------------------------

by stof at 2012-07-18T16:23:00Z

To be clear, the commit you linked is a revert of a change committed by mistake in the previous commit just a few minutes earlier.

---------------------------------------------------------------------------

by GromNaN at 2012-07-18T20:59:12Z

@stof indeed.
updated deps
fixed typo