Add jsonp API for gallery list

I added a jsonp API as `/data/gallery.js`.

But I am not a Java programmer, just don't know how to set cache control for it.

Hope you can help.