Moving Exam.Note column to Image.Note

We want all images to have their own note so we're moving the Note
column from the Exam table to the Image table.
Deleting all cached images when rebuilding the database
update enabled from Application vtk event
Merge remote-tracking branch 'patrick/master'