Fixes ToolUser#lockContent to clean up old, unused locks so that it performs better.
Changes ContentUnlock page to retry 5 times so that users don't get an error page as much.