fix sync issues between channelJoined and serverConnected events.  If those events are fired then the helper functions serverIsConnected and channelIsJoined should return the proper state.
fix channelParted to not fire until after channel status is reset
attempt to ignore non-alphas during autocomplete
Make it work.

Fix syntax errors, add backslash to the non-alpha characters and fix
error in logic.

Remove unneeded code.

dang
Merge pull request #410 from yyyc514/event_state_sync

fix sync issues between channelJoined and serverConnected events.
Merge pull request #413 from foldericon/smarter_nick_completion_squashed

Smarter nick completion squashed