Adds caching of getPermissions and movingStats

Also some fixes, including expiring caches on .delete() instead of just
.save().