add thumbnail table, store base64 image as "text"
Thumbnail services set up

* we may want the services to do more of the work (calling n52, but for now it just takes a base64 thumbnail)
* added a convenience method to PublishResource for checking whether session is valid for publishing
* GET and PUT are implemented on thumbnail
Merge pull request #610 from jiwalker-usgs/thumbnails

Thumbnails