(maint) remove operatingsystemrelease duplication

Prior to this commit, the `operatingsystemrelease` fact had a
significant amount of duplicate code in determining the release version
of the operating system.
This commit condenses that code to a more managable format.
(maint) remove duplicate code from resolution test

Prior to this commit, the tests for Facter::Util::Resolution were the
same for windows and non-windows systems. This commit combines those two
tests.
(maint) fix formatting and add more testing info

Prior to this commit, there were some formatting issues taking away from
readability of `lib/facter/operatingsystemrelease.rb`, and there was
limiting testing of this file. This commit fixes those formatting
issues, and adds more test coverage.
(maint) remove unused code from resolution_spec

Prior to this commit, the resolution_spec.rb file tests setcode for both
a windows and non-windows system. The tests come out exactly the same
for both systems. An investigation into the code suggests that this
platform distinction is never actually used. This commit removes the
part of the test that specifies what to do on a windows vs. non-windows
system.
(maint) remove whitespace and alter formatting

Prior to this commit there were some whitespace errors in the code,
relevant information for the test_cases was stored in two different data
sets, and there was unnecessary comments. This commit fixes the
whitespace issues, reformats the datastructure of the test_cases hash,
and gets rid of the comments.
Merge pull request #452 from melissaanne/maint/master/remove_duplication_from_resolution_tests

(maint) remove duplicate code from resolution test
(#19293) Enhance the release fact for OpenBSD

Currently facter only outputs the main release version number without
the actual substring information.
e.g. 5.3 versus 5.3-beta
(maint) Whitespace fix for kernelrelease_spec.rb
(#19293) Unit tests for openbsd kernelrelease fact
Merge branch 'pull-440'

This closes GH-440
Test operatingsystemrelease output where possible

On platforms where we have fixture data available for the
operatingsystemrelease fact, we should test the parsing of the actual
files. On other platforms where we lack such fixtures, just ensure that
the correct file is read.

Paired-with: Melissa <melissa@puppetlabs.com>
Merge branch 'pull-450'

This closes GH-450.