jail cleanup and updates
This is feature complete, it needs testing/debugging any issues found, and when done remove a few temporary/excessive debugging messages.
It does not check/fix the passwd file as in #5344 (closed), but that can be addressed separately. An easy workaround for #5344 (closed) is to resync cron jobs.
Fixes #2140 (closed) Fixes #5028 (closed) Fixes #4878 (closed) Fixes #2946 (closed) Fixes #5736 (closed)
Edited by Jesse Norell