The connection between globular cluster systems and their host galaxy and environment: a case study of the isolated elliptical NGC 821