(maint) Fix improper use of function try blocks.

In C++, function try-blocks implicitly rethrow the caught exception.
Therefore, the use of them in the regex adapter is incorrect.
Additionally, since the regex adapter isn't fully constructed, the _err
member cannot be used in a catch block and doing so will likely result
in a segfault.

The proper fix is to call the assign member and catch the exception it
throws.
(CFACT-73) Fix binding to the latest ruby available.

Instead of just assuming there's a symlink to the latest ruby library
available, search the library directory for all versions of libruby and
use the latest one.

This allows us to automatically find libruby on systems where the
symlink does not exist (such as Ubuntu).
Merge pull request #107 from peterhuene/maint/logging

(maint) Change execution logging namespace to be just "execution".
(CFACT-72) Log information during ruby library search.

While searching for the ruby library to use, we should be logging where
we are looking for the library and the candidate libraries we have
found.
(CFACT-51) Resolve DLL search issues in dev environment

Switch Boost to static libraries, to avoid having to ship Boost DLLs.
Put all binaries in the same directory to avoid DLL search path issues in dev environment.
Merge pull request #105 from peterhuene/custom/facts

(CFACT-72) (CFACT-73) Fixes for how libruby is discovered.
(CFACT 70) Add the kstat kernel information library to solaris linking

KStat provides information that is useful for resolving several
facts about the solaris kernel. This patch links the kstat library to cfacter
(CFACT 70) publish uptime fact for solaris

Before this patch, solaris10 did not report uptime. This patch adds the support
of uptime fact to solaris. It does this by relying on kstat library, which is
used to lookup kernel information. If the library call fails, it relies on
/bin/uptime for the uptime fact.
Merge pull request #110 from vrthra/fix/cfact-70/add-uptime-fact

(CFACT-70) add uptime fact for solaris
Merge pull request #112 from MikaelSmith/task/master/CFACT-51-link-run-on-windows

(CFACT-51) Resolve DLL search issues in dev environment
(CFACT 70) Add posix facts id and timezone to solaris

This patch adds the posix timezone and id facts (unchanged) to solaris
These are the only posix facts left that can be added directly to solaris
without change in behavior.
(CFACT 70) Correct the operating system resolver to match facter

Previously, cfacter output for osfamily (SunOS), operatingsystemrelease(5.10),
and operatingsystem (SunOS) depended on the posix implementation. However,
the ruby facter implementation provides osfamily (Solaris),
operatingsystemrelase (10_u11), and operatingsystem (Solaris) which are
different from the barebones posix. This patch corrects the cfacter so that
it outputs values matching ruby facter.
(CFACT 70) Correct the kennel resolver to match facter for solaris

Previously, cfacter output for kernelversion and kernelmajorversion (5.10),
were not in line with the ruby facter output (Generic_xxx).
This patch corrects the cfacter so that it outputs values matching ruby facter.

To do this, the kernelversion and kernelmajorversion needs access to the uname
output. This patch adds two virtual functions that are wrappers of the
originals that can take uname output, and are called instead by the
resolve_facts method.