[#331] Optimizations of ProjectMapResource

Use select_related() for the resource's queryset and remove the
locations ToMany field to reduce the number of database queries to one
per project (used to be four).