[4.2] Fixed empty string in database connection config 'unix_socket' causes system to default to socket connection instead of host connection
minor comment addition in MySqlConnector.php
Fix Str::endsWith() with needles that start with space and numbers.
[4.2] Docblock fixes
cleaning up some code.