More relationship refactoring

Converting the has_and_belongs_to_many of the image and tag many-to-many to a has_many through model.

Updates to schema and migrations for this.  Also, tests for validation of the new join model.