lxcapi: Add new get_ips() call

This adds a new get_ips call which takes a family (ipv4, ipv6 or NULL),
a network interface (or NULL for all) and a scope (0 for global) and returns
a char** of all the IPs in the container.

Signed-off-by: Stéphane Graber <stgraber@ubuntu.com>