Add the ability to remove a component from component tree

This functionality will be neaded on Brillo side to remove components
added by vendor daemons when those daemons exit (normally or abnormally).
This will allow those daemons to re-add the same component when they get

Change-Id: Ida350cfa38d4f1265d1e86fccca893cdf7f5030c
Reviewed-by: Vitaly Buka <>
9 files changed