Changed version to be a const.
Added prepareVersionNo test and small tweak
Namely, the second param to str_replace doesn't need to match in type of
number of array items in order to work.
version() now uses named constants
Namely, Mobile_Detect::VERSION_TYPE_STRING and
Mobile_Detect::VERSION_TYPE_FLOAT.