implement `ActionDispatch::Flash::FlashHash#to_h`
Merge pull request #34 from square/backport-json-flash

allow flash to be stored as json