Added specs for JSONdecode

Added specs to cover hazarous behaviour if wanted
Added 1.4compat comments to the adition

Fiddle: http://jsfiddle.net/mD2xg/