Fix encodings of generated room ids to allow unicode

Replace all instances of non-alphanumerics in roomnames, allow and handle uppercase alphanumerics in unicode encodings.

Should fix #842