dialect-specific BasicJoin child classes; renamed sqlexception.rb to sqlerrors.rb, removed class SQLException