Query objects section on code-conventions page

Rubocop complains about `extend self`, it recommends using `module_function foo` instead.
I think the reasoning is that you then only expose the functions you really want to be module functions rather 
than everything. Personally I don't care either way.