As Silicon Valley lays plans to colonize Mars, researchers offer a blueprint for governing it