update django to 1.7.1, fix some old dependencies