Hide the join link in sidebar if user is in chat

Also add config var $wgChatOnlineTimeout for setting the timeout before a
user is considered offline

Change-Id: If6997624eeb4e09ace9e672257f2270dd3281101