jabber.c: removed explicit type conversion

According to the C99 standard integer type will be converted to real
floating type before the comparison.
free saved login information in jabber_free_resources()
jabber.c: added assert before reconnect_timer allocation

Development build will be terminated if reconnect_timer was allocated
previously and wasn't destroyed.
jabber.c: removed extra resources release

These resources are released in jabber_free_resources().
free resources when login attempt fails

The next call of jabber_connect allocates these resources again.
jabber.c: set jabber status in one place in connection handler
jabber.c: removed xmpp_stop calls

xmpp_stop() stops event loop xmpp_run() that profanity doesn't start.
added resources release to connetion handler
Temp fix for handling printable characters
Revert "Temp fix for handling printable characters"

This reverts commit 8f5826b25613555cdf8d22d484609be5b1687c42.
Temp fix for checking printable chars

Use result of wget_wch to check for special keys
Remove whitespace
Merge remote-tracking branch 'upstream/master'
Merge remote-tracking branch 'dmitry/next'
Added extra line after /wins
Added nickname autocompleter to chat rooms
Autocomplete: added free function

Fixed tests
Use room nickname autocompleter on /info and /msg when in chat room
Added win_current_is_console()
Check nick exists when private messaging

Show nick part of jid in private messaging