rewrites the search by location query to use precomputed arrays of locations rather than monstrous joins and set operations
Merge branch 'develop' into speed_up_queries_by_location

Conflicts:
	lib/modules/sapi/stored_procedures.rb
	lib/tasks/helpers_for_import.rb
add index on countries_ids_ary
Merged conflicts
Merge pull request #180 from unepwcmc/speed_up_queries_by_location

Speed up queries by location