Add function to get all selected images

This should be used all over the code I guess instead of fiddling with
the db in many places.
Center filmstrip on first selected image in map mode

This fixes #9090