removed UNIQUE constraint from gallery table
style adjustments to top-level galleries view
new model->query2() uses prepared statements
removing junk
backend now supports gallery re-ordering