misc. cleanups

base_packages: s/insall/install
base_packages: host will not be defined in the else clause. This should have been hostline
job: Convert optional_fields to dict literal.
base_utils: Remove unused param _stats.
base_utils: Remove semicolons and unecessary \.

Some of these were found by Pycharm code inspections.