Added take_lock_recursive to module api.
Terminal driver's holdlock now supports recursive locking.
Release lock before killing process.
Added path support to cmd.
Added path setting ability to boot manager.