allow stale checks to be disabled and hidden in the Web UI

Some more tests need to be written around the new methods, in entity_check.rb in particular. some of these methods aren't actually used but I expect to use them in the near future for enhancements to the web UI and API