3rd Test: Khawaja's Century Helps Australia Edge Ahead On Day 2