Renamed qn to compiler

This is a tidy up of method arguments previously called `qn` which previously stood for "quote_names". The actual object passed to most of these methods is now a `compiler`, which has the quote_name function as it's `__call__` method, to preserve compatibility.