refactor Paste2Pastebin
add test for chatlog / cleanup