fix check intalled and check_running for Solaris family.

On Solaris 10 and 11, gnu grep is optional.
Then check_installed and check_running use egrep (not gnu)
in commands/solaris.rb and use gnu grep in commands/smartos.rb.
update tests
Merge pull request #202 from ftnk/fix-check_installed-and-check_running-for-solaris-family

Fix check installed and check running for solaris family