Add __virtual__ function to new apt state module

I was waiting on this change from @holmboe before I merged #7085. Since
it has now been merged, here is the __virtual__ function to which I was
referring.
Merge pull request #7092 from terminalmage/quickfix

Add __virtual__ function to new apt state module