Fix dict comprehension for python 2.6

refs #14979
Merge branch 'bug/14979' into develop

* bug/14979:
  Fix dict comprehension for python 2.6
Made ganetiviz views pep8 compliant, removed redundant imports.

refs #15009
Made ganetiviz urls pep8 compliant.

refs #15009