Add tests for select all behaviour when not using a table alias
Merge pull request #667 from JeroenDeDauw/selectallnoalias

Add tests for select all behaviour when not using a table alias
Fixed undefined index notice when attempting to reconnect a MasterSlaveConnection after close has called