upgrade to django 1.5

upgrade
by wgx731 - add new dependency and make minimal changes for upgrade
Change settings

snap
prepare for cusmized user model change
reorder settings