A forbidden Gnostic text that claims to be Jesus' secret teachings to his brother James have been unearthed in an ancient trash heap in Egypt.