[no-ref] Added sGallery templates and updated sgallery.php

Now the only thinkg to do is to update skin for sgallery.