Various updates.
-Switch to JSON for configuration file storage.
-Make configuration elements private so they can't be changed outside of the Config member functions.
-Improve admin/channel data storage.
Move ping interval and max missed count to variables at the top.
Enhance the PING/PONG system.
The bot now does the timed maintenance tasks (like PING and the DB connection check) regardless of whether the stream_select() timed out or a message was received.