A phase-field-crystal alloy model for late-stage solidification studies involving the interaction of solid, liquid and gas phases. (8th January 2018)