More join types in join_sql
First pass at joins with diff x and y vars
Add join tests.
Move by length check into common_by