MathLib::isOct() fix missing detection of U and L suffix combinations an...

...d  added unittests. The isOct() function detects octal numbers in strings by parsing the numbers with a finite state machine.