Add test to verify a key ending in punctuation can be forgotten.

Signed-off-by: James McCoy <vega.james@gmail.com>
Fix forget to handle keys with punctuation.

Closes jamessan/Supybot-Infobot#1

Signed-off-by: James McCoy <vega.james@gmail.com>