Add missing requires so software.rb loads correctly

Also extract ohai to its own file so it can be depended on individually
Add helpers to prepend paths platform-independently
No bikeshedding on string literals
Fix newlines in specs