Improving requirements and build config for Solaris and SmartOS, including ruby-2.0.0. #1774

Updating SmartOS requirements to use autolibs aware check for package installation.
Updating requirements for Solaris to be autolibs aware.
Improving requirements for Solaris & SmartOS.
Using bash to run configure for non-portable configure code.
Update ruby-2.0.0 build config for SmartOS to use -R -fPIC to work around configure issue.

Relevant bugs recorded in ruby issue tracker:
https://bugs.ruby-lang.org/issues/5384
https://bugs.ruby-lang.org/issues/8071
https://bugs.ruby-lang.org/issues/8268
Merge pull request #1820 from mattconnolly/1774-sun-2

Improving requirements and build config for Solaris and SmartOS, including ruby-2.0.0, update #1774