Added PENDING status for render nodes

If a user chooses to offline a node which is currently running a task,
then the node's status will be set to 'P', for pending. When the task is
complete, the node will set it's status to offline. Also removed global
config from MySQLSetup.