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