(MODULES-910) Convert @apache_version to a string

Three part version numbers cannot be floats and must
be represented as strings. This commit changes all instances
of $apache_version and any comparsions to use strings and the
versioncmp function.