Added signals to Image model.

Signals were added to the Image model to ensure that their files were
deleted when the model was deleted or updated.
Added some basic tests for the Image model.