Updated composer.json and lock, and updated twig.php, to work with slim2.4 and latest twig. Also added whoops for neat error messages