Wanyama, Lucas hat-trick send Spurs third