Rebuilt Application and ServiceContainerBuilder

Allows to run Application in different modes (env, prod) as in Symfony2
Standard Edition. Debug mode is passed as an argument to Application.
Switching between dev/prod requires only small change in .htaccess file.
Location of cached Container files changed to /var/dev /var/prod.
Removed unnecessary files

index.php which now is deprecated
Enable/disable profiler from parameters.xml
Small changes in TemplateListener
Moved LayoutBoxConfigurator pass to Layout plugin
Missing comment in AdminMenuBuilderInterface