jail(3lua): add jail.attach()/jail.remove() methods
These aren't a part of or use libjail(3), but rather are direct
syscalls. Still, they seem like good additions, allowing us to attach
to already-running jails.
(cherry picked from commit a6499c56ab6ca54f01dca44b7e34a0fc6a680e90)