Code cleanup

  - fix lint errors
  - s/operatingsystem/osfamily
  - add travis