trim values in json_decode for null, true and false

Summary: JSON RFC says to consider as whitespace: space, tab, LF, CR
Closes https://github.com/facebook/hhvm/pull/3478

Reviewed By: @fredemmott

Differential Revision: D1500291

Pulled By: svcscm