Create exitpoll.r

Defining functions for exit-poll support.
Connecting to MySQL DB.