[api] fix is_version_number() to give proper functionality even on buildidentifiers with just one E in.
thanks to @Neal for pointing out this flaw.
also simplify some statements and remove an unnecessary 4.2 block on all firmwares.