add apt_install helper, clean up some other cmd statements

Signed-off-by: Adam Stokes <adam.stokes@ubuntu.com>