Fix so we remove the /var/db/snort directory on pkg deinstall.
Fix logic to only restart Snort if it was running on rules update.
Remove unneeded calls to conf_mount_rw() and conf_mount_ro().
Check and only call conf_mount_rw() when needed.
Wrap calls to sync_snort_package_config() with conf_mount_rw().