Fixing adv_import, adding CBV support

Fixing adv_import to return passed in view
Adding Class Based View support when parsing url
pep8