Tiled Galleries: sanitize all widget inputs, not just those with predictable values

Merges r97404-wpcom.
Merge pull request #550 from Automattic/merge-gsteph-15-may-2014-2

Tiled Galleries: sanitize all widget inputs, not just those with predict...