Added support for thousand separator

Also added tests.
Valid: 1,000 ; 100,000
Invalid: 01,000 ; 0,000 ; 1,00,000