[docs] Add config example for lighttpd
simplified some code
fixed doc
made the code more readable
merged branch fabpot/simplification (PR #371)

Commits
-------

e4641d4 made the code more readable
c89133e simplified some code

Discussion
----------

Code simplification

I propose to simplify some code. What do you think?

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

by stof at 2012-06-15T12:02:47Z

:+1:

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

by igorw at 2012-06-15T13:06:12Z

Fine with me. But please add an assignment before `setResponse` to keep the lines a bit shorter.
fixed documentation for forms
enhanced documentation for forms
enhanced documentation for validators
removed unneeded code (now that the Validator component has been fixed)
simplifies the usage of file-based translations with the translation extension
added auto-registration of translations for the validator and form error messages
made form and validator translations aware of the current locale
tweaked documentation
renamed security.context to security
removed obsolete code
moved web server configuration info to its own chapter
Removed the swiftmailer autoloading from the service provider

It is now handled by composer directly.
merged branch stof/swift_autoload (PR #373)

Commits
-------

1c41a6b Removed the swiftmailer autoloading from the service provider

Discussion
----------

Removed the swiftmailer autoloading from the service provider

It is now handled by composer directly once swiftmailer/swiftmailer#212 is merged.
fixed doc
updated vendors