More refactoring, centered around bootstrap and Django 1.5.