0.9.x Support for non-root apache configuration

Hello,

This pull request is based on following modifications:

#328

#327

#346

And contains small bugfix from my side on top of them:

- activate url quoted syntax behavior for Django < 1.5