Partially implement package install type.

* Fixes a bug where run_context is not passed into the resource
* Calls set_package_resource to establish the resource
* Triggers an action on the resource
* Ensures the run doesn't crash if certain parameters not provided

I think this still doesn't quite work, but I'm iterating on it now. Fixes a couple bugs though.