Refactor OsInspector

* Use consistent names for all methods which get information about
  the operating system
* Make logic of os inspection more explicit
* Use methods instead of hash elements to access attributes of Os
* Group tests according to which function they test

Supercedes #48 
I know that this is not part of this commit but I would move these files in the root directory of os, or at lesat remove the etc.