Which civilization first developed a civil service system, invented gunpowder, and manufactured porcelain?