Create (rename _detect_api_version() to) detect_spanel() function with a more stable return format, to be usable by others outside (e.g. by spanel-login.php in Masterkey code)