Removes unneeded parameter from QueryBuilder::fetchColumns()
Use the first instance of a table rather than the last when more then one exists

Also adds logging of ambiguous table aliases to that they can be identified more
easily. In the long run, we should figure out a way to deal with them more
gracefully. Unfortunately the "TableName".Column style of referencing columns
within views doesn't lend itself to that very well.