Increase Django requirement on OpenShift to >1.7.
Fixed escaping issues introduced by pylint fixes.