Added selector as optional parameter for grid init

Thumbnail grid can be attached to any "list" element on the page.
Two or more grids can be created on the same page.