Today, Texas is famous around the world as being the most American state of them all – but it once belonged to Mexico. For almost a decade, it was an independent republic.