bug in the timealarm library

That random test is useful.

I added a global errorCount variable that is incremented if an error is detected and modified showMe to print this :

void showMe(char* type, time_t tnow){
  sprintf(buf,"%s alarm %s, %d:%d:%d %d/%d/%d errors=%ld",type,dayStr(weekday(tnow)),
       hour(tnow),minute(tnow),second(tnow),month(tnow),day(tnow),year(tnow), errorCount);
  Serial.println(buf);
}

I am running the new library code that uses enumerations for the alarm types and it is looking good so far. I will leave it running for a while and see if any errors crop up. If all is well I should be able to post the new code here later today. I have included a method to return the number of allocated ids and a method to free a given alarm.