make reboot work with service dependencies
update manpage for reboot command
regenerated manpage
clean up the state dir since it can affect tests
fix tests to work after cleaned state dir
reindent filter_resources globs properly
DRY up build cleaning
move imports to top
remove unnecessary whitespace