Fix parsing tests.

Was failing on mongo because PeriodAtEnd. is valid
table list syntax for mongo.
Allow custom selects to span multiple lines.

Custom selects can now put \ at the end of a line to continue
the custom select on the next line. Handy for custom
selects that use lots of joins.