Only create contacts resource when online
Renamed jabber_presence_t->presence_t
Added presence string functions to common
Added resource_presence_t
Renamed resources->available_resources
Removed presence from jabber_conn
Added resource_presence_t and contact_presence_t
Use resource_presence_t in Resource
Added p_contact_add_resource
Added usage of handlers to message and presence modules