[#1764] Reorder the creation of the SOLR cache of the validated package_dict so that it does not include the unvalidated package_dict.
[#1764] Add tests.
[#1764] Change nose imports to stupid long-hand, as per the coding guidelines.
[#1764] Compatibility with python 2.6.
[#1764] PEP8 fix.
Merge branch 'master' of github.com:ckan/ckan into 1764-solr-rubbish

Conflicts:
	ckan/new_tests/helpers.py
Merge branch 'master' into 1764-solr-rubbish

Conflicts:
	ckan/new_tests/helpers.py