Os class

This is a cleaned up and completed version of the proposal I did a while ago to merge the Os and the OsScope classes. It simplifies the code dealing with scopes, so that Scopes can be created more directly and can have more specific behavior. In the case of the Os scope it makes it possible to now only have one class dealing with operating system data, not two as before.

Redundant `self` detected.