Selena Gomez and Lorde Put Their Feud to Rest at the AMAs — and Party With BFF Taylor Swift!