fix some issues with pkg

* fix incompatibility with freebsdpkg.available_version and pkg.latest state
* fix: if version looks like float in .sls yaml provide float.