Update app to use Python 2.7

Note that this doesn't fully work yet.

See https://code.google.com/p/sympy/issues/detail?id=2649.