A look at how newly acquired California would prove invaluable as the discovery of gold unleashed the largest migration in US history and ignited a debate on slavery, culminating in Civil War