Update to allow certain parameters to be nil. Include syslog logging. Remove auditing as an application-level concern. Update pq import path.