First real commit

This is the updated nggallery code that runs on my site. It requires a
separate plugin to make use of it, but this fixes some nggallery bugs
and adds support for multiple image sizes and keeps the originals as
well.