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
remove commented code
added distribution links
Merge pull request #31 from unepwcmc/import_references

Import references
small typo in rake task call
Merge branch 'master' into speed_up_the_specs