timeout_add returns guint

Signed-off-by: Anton Lofgren <anton.lofgren@gmail.com>
Don't return ref in get_ui_info

Signed-off-by: Anton Lofgren <anton.lofgren@gmail.com>
core: Add quit functions

Signed-off-by: Anton Lofgren <anton.lofgren@gmail.com>
Expand core functionality

Signed-off-by: Anton Lofgren <anton.lofgren@gmail.com>
Add purple_timeout_add and fix some issues

Ew.. messy commit.

Signed-off-by: Anton Lofgren <anton.lofgren@gmail.com>