Factor connector/one_to_many query into many_to_many function
Factor connector/one_to_many query into many_to_many function

This makes it more reusable and easier to add a many_to_many view.

fzadow/CATMAID,fzadow/CATMAID,fzadow/CATMAID,fzadow/CATMAID