lchan: Remember why a channel is broken using static strings

Remember why a channel is being marked as broken. So we can
maybe understand what happend.
db: Begin with some indexes to speed up look-ups

For MT-SMS we need to look-up a subscriber based on the extension
and to find a undelivered SMS we need to search for the sent column
to be NULL. Add two indexes to speed-up this operation.