Allow filtering of blist output

Add an (optional) second parameter to blist. If present, it is treated
as regex and used to filter the result list.

----

Patch from http://bugs.bitlbee.org/bitlbee/ticket/972

Replaces #5