Add MySQL interfacing function

*Function handles creating MySQL links and running queries
*Bot will test for MySQL configuration validity on startup

Change-Id: I9633d1b5d89bc6ccfe472dc37fa918312bbb2d3e