Composer fixes

This fixes some outstanding issues with the Composer support:

* fixed ``trans`` Twig helper
* fixed Propel versions
* allow Twig to cache its templates

Unfortunately, the ``update-messages.sh`` is broken at the moment, because it uses a different cache directory and stuff. I still have to look into that. But the website/API itself is working.