Fix jinja search path for local file_client

Now that FS backends other than roots work with a local file_client,
there is no need to look only in the file_roots directories.

Fixes #17963.
Add support for sockstat on FreeBSD as an alternative to lsof
Fix lint
Populate the 'virtual' grain on OpenStack FreeBSD systems
Fix jinja tests

These tests were using the now-outdated method of looking in the
file_roots for cached templates in masterless mode.
add more constants to exitcodes.py
convert to using salt defined exit codes
use salt exit codes
use salt exit codes
use salt defined exit codes
use salt defined exit codes.
use salt exitcodes everywhere.
make sure to import salt.exitcodes
Merge pull request #18860 from terminalmage/issue17963

Fix jinja search path for local file_client
Merge pull request #18894 from cro/fbsd_sockstat

Add support for sockstat on FreeBSD as an alternative to lsof
revert changes to shim.

The shim can't have any external dependencies.
Correct comment. Keep in sync with exitcodes.py
Fix bad option handling for FreeBSD pkgng and pkg.install fromrepo
Merge pull request #18897 from UtahDave/2014.7local

Use Salt defined exit codes.
Merge pull request #18899 from techhipster/freebsd-virtual-grain

Populate the 'virtual' grain on OpenStack FreeBSD systems