Adds cms 2.4 & 3.x compatibility.

Adds ckeditor support.
Drops django < 1.4 support.
PEP 8 cleanup.