MDL-43604 add support for future hacky MariaDB versions

This patch also shows the real server version without
normalisation on the environment page, this should
hopefully help people to identify MariaDB...