Simple url shortener with silex using the urlshortenerappserviceprovider