add allowMultiple option to qpInputByLabel

allows getting multiple qp inputs for a given label. this was necessry
for QSTools/manuallyParseStudentNames.js
handle multiline chats better

now try to detect multiline chats and instead append the chat to the
previous one