Check local repository for ips package installs 

### Version:
11.12.8

### Environment: [Details about the environment such as the Operating System, cookbook details, etc...]
OS: omnios 151006

### Scenario:
The ips provider currently only checks the remote software repository for package information and not the local system so if there is an update available in the remote repository it will trigger a package upgrade even if the action for the package resource is :install


### Steps to Reproduce:
Start with a ips system that has a local package installed that is older than the package in the remote repo.

```
# pkg info gnu-patch
          Name: text/gnu-patch
       Summary: The GNU Patch utility
         State: Installed
     Publisher: omnios
       Version: 2.7
 Build Release: 5.11
        Branch: 0.151006
Packaging Date: May  6, 2013 07:55:18 PM 
          Size: 239.38 kB
          FMRI: pkg://omnios/text/gnu-patch@2.7,5.11-0.151006:20130506T195518Z
```
```
# pkg info -r gnu-patch
pkg info -r gnu-patch
          Name: text/gnu-patch
       Summary: The GNU Patch utility
         State: Not installed
     Publisher: omnios
       Version: 2.7
 Build Release: 5.11
        Branch: 0.151008
Packaging Date: December  4, 2013 02:52:08 AM 
          Size: 240.62 kB
          FMRI: pkg://omnios/text/gnu-patch@2.7,5.11-0.151008:20131204T025208Z
````
Then have a recipe that includes
```
package 'gnu-patch' do
  action :install
end
```
### Expected Result:
Package resource won't trigger

### Actual Result:
Package resource tries to converge
It would be cool if we move this `shell_out` call into its own method similar to `get_candidate_version` called `get_current_version`.

Overall I'm :+1: