Added support for multiple preps

This will allow users to get one image per prep, rather than the latest image for all the preps. This answers to sverker's wished to be able to see every caliper image for every prep.

And there is some small changes to make things nicer. 

Thanks again to @ewels 

PS : This requires a small change in the views. Warn me before deploying.