THRIFT-2859: JSON generator - fixed i64 numbers generation

Client: JSON
Patch: Stig Bakken

Also forced "C locale" for numbers - problems where detected in JSON lib
in C++, so fixing it in generator also might be a good idea.

This closes #305
Merge remote-tracking branch 'origin/master' into coding_standards