Fixed gallery module. Closes #111
Fixed image.php template to render correctly. Involved changes to columns and pager to correct minor bugs.