Mysql seconds before master and NULL

I've found a bug with the seconds before master feature inside the mysql plugin.

When this field returns `NULL` (As when there is a replication error or the slave is stoped with `STOP SLAVE`), the `NULL` string is converted to 0, the actual number that you want. 

So there isn't a way for copperegg to know if there is an error on the replication.