A revamped Twitter could become the world's most valuable brand, but there are also legal issues ahead