Gloucester director of rugby Nigel Davies hailed his side's mental strength as they fought back to claim a 22-16 win over Newcastle.