Rahm Emanuel elected mayor of Chicago