Tiled Gallery: All gallery item atts to cstr.

Moved the grayscale attribute provided as the HTML function's parameter doesn't make much sense when all other information is provided in the constructor. Grayscale was moved there too.