support get_package_version for smartos
fix: return version only
use escape
Merge pull request #95 from higanworks/smartos_get_package_version

support get_package_version for smartos