Update JSON.swift

Fix subscript error : 'JSONValue' does not have a member named 'subscript'
And add public to var string, integer, bool, array, object, double
 Swift beta 4
Merge pull request #16 from mjdevs/master

Make JSON compute properties public