(maint) Resolve operatingsystemmajrelease in Ubuntu

This commit adds Ubuntu to the map of platforms which
are suitable to resolve the operatingsystemmajrelease fact,
and adds the necessary logic to do so.