Fix mistake in seeds.rb

Errors should be ignored within loop, so that contacts continue to be created.
Trigram search on all models, refactor to stay DRY.