sterted work on refactoring the specs
further simplified factories and specs
updated specs to use new methods
hushed somepreviously pending specs
Merge branch 'master' into speed_up_the_specs

Conflicts:
	spec/factories/listings.rb
	spec/shared/canis_lupus.rb
	spec/shared/falconiformes.rb
	spec/shared/pereskia.rb
Merge branch 'master' into speed_up_the_specs

Conflicts:
	spec/factories.rb
implemented script for importing all references, started on accepted and synonym links
fixed reference accepted links
amended standard references import to make use of unaliasing
import territories and link with countries
distribution reference links - man is this slow. need to look into adding indexes
simplified queries by extracting the unaliasing step
added indexes to reference link tables
added plants files and adapted the scripts
removed obsolete files
fixes for synonym references import
removed temp files
Merge branch 'master' into import_references
theoretically fixed files, which still includes invalid ref ids (which get filtered out)
uncommented the rebuild step