Gets rid of resources cleanup, fixes #7

- There is no longer a resource cleanup option in the controlpanel
- Resource records on the database are deleted when the resource is
  removed
- The scheduler uses managed_* methods for all calls now which scopes
  all queries to avoid bugs and security issues