lui-logging: use raw-text coding system for writes

This avoids blocking applications when Emacs wants to determine the
coding system.
build.sh: Use new -pkg.el.in files for package building.

This should make the build process a bit cleaner and hopefully
make MELPA happy (fixes #46).
circe-channel-user-nick-regain-p: Typo fix.

This was checking for the old nick twice, instead of checking
that the old nick is a current user and the new nick was a recent
user.