os_alert can now show alert criteria in LIST

The display method was added to alert_criteria_constructor_t. The
display method appends a representation of the criteria (using snappendf
or similar) to the given string.

Add snappendf, which appends to a string using vsnprintf.