Updated extensions for Python3

The functions lower() and upper() are deprected and seem to be removed in Python 3.7

https://docs.python.org/2/library/string.html#string.lower

Is there a reason we don't the sensio symfony extension as a git submodule?