libathemecore: add is_valid_username(). (ref #301)
botserv/main: use is_valid_username() and trim usernames to USERLEN (closes #301)