cache: new allocation scheme for imageio
cache: port ratings to image cache
cache: port jobs over
cache: port develop
cache: port view
cache: port light table
cache: filmstrip
cache: fix some non-freed locks (might be relevant for master, too)
cache: one more release in a different place
cache: debug layer for rwlocks