Replace ImageRecord.isValidImageID with the promise-y ImageRecord.validateImageID.

Simplifies code in the controller modules, and is (probably) the way it should've been done in the first place.