Updated version checking for Firefox >= 10

Modified version checking for Firefox, because its (awful) string-based version numbers can't be compared purely numerically or purely textually.