Add version method to package type for testing package version

You can write a test for checking package version like this.

```ruby
describe package('httpd') do
  its(:version) { should >= '2.2.14' }
end
```