Implement listing images

This is the beginning of the `/images` endpoint. I've been testing it and it seems to work fine. I also plan to implement some way of making a particular image active.