nova/rbd: use operatingsystemmajrelease fact & fix tests

* Fix the condition with () and use operatingsystemmajrelease to match
  the correct fact.
* Update unit tests to cover more situations of deployments.