tests: add test-case for hy_package_installed()
py: add 'installed' property to hawkey.Package