Fixed errror in MappingParser with wrong way of deleting list elements
Changed the TablePrimary:equals to also check for equalithy of the alias

Added a test for this (two aliases to the same table in the from-list)
Changed the MappingAnalyzer:createLookupTable to treat more cases, and
removed some duplicate code in it.