[#1507] Use package_search API for current_packages

Switch to using the package_search API for current_package_list_with_resources
endpoint. This limits the strain on the database and also limits private
datasets being shown publically
pep8 fixes for tests
Delete old tests and old helper function
Merge remote-tracking branch 'origin/1507-current-package-list'