Update copyright years to include 2018
Extract two helpers into a shared file: - logAllServerErrors(app) - logServerErrorsOtherThan(statusCode, app)