Fix Gallery issues and add summary for Snowflakes and also fix the code generator.
Add documentation for Snowflakes API and change and improve snowflakes API include API call to load gallery in different parts  mostly for the jsonhtml output which includes topHtml, paging, topHtml2, imageList and bottomHtml , element. Events  and snowflakes are stored in just an html element for jsonhtml output type. The code generator has all the explanation for snowflakes API parameters.