Various fixes and clean-ups
- Properly implement reserved, allocated and in-use statistics
- Small usability fixes for the execution inspect page
- Move all the database access in the state package
- Remove image management, it is too slow to download images before while the user waits the the ZApp to start
- Make several thread loops more robust in case of uncaught exceptions
Edited by Daniele Venzano