2.1 compatibility and insert_batch()
Merge pull request #4 from marcogrueter/2.1-compatibility

2.1 compatibility for admin, a frustrated join instead of a subquery and insert_batch()
Fix an error with empty galleries.

The + operand produces a fatal error with an empty $thumbnails array. Added a quick fix.
Fix indentation.
Update spacing on the conditional …

… although the necessity is unclear to me, a few lines down the spacing
is done the other way again.
Merge pull request #9 from NicolasSchneider/2.1/master

Fix an operand error with empty galleries.
Added pagination support

Added pagination support for galleries list
Merge pull request #10 from ChristianGiupponi/2.1/master

Added pagination support
Removed the "click to edit" text and link from the manage page. This will
need to be implemented differently as with the old module it loaded
a modal in the galleries module from the files module. With v2.2.x we may be able
to embed the files interface into the galleries page