Use the Glib slice allocator for fixed-size objects

The slice allocator, available since GLib 2.10, is more
space-efficient than [g_]malloc.  Since BarnOwl is obviously at the
leading edge of space-efficient technology, this seems like a natural
fit.  Use it for every fixed-size object except
owl_viewwin_search_data (which would need an extra destroy_cbdata
function to g_slice_free it).

Signed-off-by: Anders Kaseorg <andersk@mit.edu>
Use SSL by default

As per https://dev.twitter.com/discussions/24239 and
https://twitter.com/perl_api/status/423210390684565504, the Twitter API now
requires SSL connections, so go use them.
squelch the legacy_list_api warnings
Kill the client-side tweet length check.

Just let the API do the check. Since we don't shorten URLs, our check
is way wrong anyways.
Implement :twitter-favorite
Merge pull request #160 from nelhage/twitter

Some misc twitter fixes and improvements
owl_util_file_deleteline: Prevent FD leak in error paths

Found by Coverity Scan service.

Signed-off-by: Anders Kaseorg <andersk@mit.edu>
owl_function_debugmsg: Be sure to match va_start with va_end

Found by Coverity Scan service.

Signed-off-by: Anders Kaseorg <andersk@mit.edu>
owl_zephyr_load{subs,loginsubs}: Eliminate useless stat call

Placates Coverity Scan service, which detects a TOCTOU race between
stat and fopen.  This race was in fact hiding an unlikely memory leak.

Signed-off-by: Anders Kaseorg <andersk@mit.edu>
owl_variable_bool_get_tostring_default: Remove dead <invalid> case

bool is 0 or 1.  Found by Coverity Scan service.

Signed-off-by: Anders Kaseorg <andersk@mit.edu>
first draft of zulip module
fix retries in Zulip module