Teach the macports module to activate/deactivate packages

Deactivating a package from macports does not remove the files, it
just unstages it from the runtime environment. Activating a package
re-enables it.

This PR takes comments from #2343 and is a resubmission.