Reload modules when a ports state installs packages

Since ports states modify the package database, the pkg database should
be reloaded when a port is installed.
Merge pull request #10495 from terminalmage/ports-reload-modules

Reload modules when a ports state installs packages