Adds image_type and task state to raw_data

Now with a db migrations directory and summary /reports. 

The pretty.py will show the failure rate for create/resize/rescue/etc over the last 24 hours with 90 percentile windowing.