BUG Fixed handling of numbers in certain locales.

Fixes #2161

@lekoala, @jurriaan, @andrelohmann 

Do you like this solution?

Credit to @andrelohmann for beginning this solution.
On that note, I need to write a test case to prove that. I probably should change the `is_numeric` to match on non-strings only.