updated composer & travis usage, added twig function: feature_enabled, fixes & tests

added featureEnabled twig function for use in if statements

added TwigExtension test, updated travis, deleted vendor.php

fixes & tests