Tiled Gallery: No link when link to is none.

Separates the anchor tag from the rest of the Tiled Gallery item contents and only adds the anchor tag as a wrapper for the image tag, if the `link to` option is not `none`. Addresses issue https://github.com/Automattic/jetpack/issues/213.