core: add commment in function string_shared_get (returned value must not be changed)
core: use shared strings for prefix on lines

It can reduce by about 10% the memory used for lines in a buffer.
core: use shared strings for groups/nicks in nicklist