Use implicit continuation for sql generation.

Avoid newlines in the query string.
Add defaut sort on artist_sort field.

For items and albums, defaulting on artist field if artist field
is empty.