implemented match_* methods

hi matsuno,

i added the match_* methods that were added to KT a while a go.
could you have a quick look at this patch and merge it? we need the functionality at iwantmyname.

thanks,
lev