Core/DBLayer: Drop support for MySQL versions <5.1

Both server and client libraries must be up to date in order to run TC.