support django 1.6

Django 1.6+ changes the location of `include`, `patterns`, and `url`. This uses the new location, falling back to the old for any Django < 1.6