refactor ohai IP plugin for Ohai 7, bump cookbook version

passes test-kitchen tests :heavy_check_mark: