Merge pull request #41 from tribut/query-lineending

fix OTR_QUERY_RE
Add start and end tests for assembler is_query.
Base class for test cases.
Make assembler tests a separate class.
Wrap long line.
Wrap long line and use interpolation.
use buffer passed by callback

when a user types in a command, the associated buffer is not necessarily
the same as returned by weechat.current_buffer (e.g. relay client)