Removed app\AppKernel.

* Changed app\App to extend Silex\Application.
* Created app_dev.php.
* Use environment parameter to determine twig caching
* Use debug parameter in error handling