fixed django < 1.5 compatibility
define methods as static in BaseBackend
neatened imports