Port rc script and cron task improvements over from Snort to Suricata.
Only call conf_mount_rw() when we need to (such as during cron task).
Remove conf_mount_rw() calls from sync_suricata_package_config() function.
Remove unnecessary calls to write_config() to reduce auto-backups.
Only call conf_mount_rw() when required and remove /var/db/suricata dir.
Wrap calls to sync_suricata_package_config() with conf_mount_rw().