Support updating and deleting RunnableCached queries.

Fixes issue #17. Tests in MainTest.