improve lxc.functions

Signed-off-by: Serge Hallyn <serge.hallyn@ubuntu.com>
utils.c fixes

as Dwight pointed out, don't close a NULL fin.

fix the parsing of lxcpath line.

Signed-off-by: Serge Hallyn <serge.hallyn@ubuntu.com>
lxc-start: print which rcfile we are using

Signed-off-by: Serge Hallyn <serge.hallyn@ubuntu.com>
clean up commands.c

As Dwight alluded to, the sockname handling was just ridiculous
in commands.c.  Clean that up.

Signed-off-by: Serge Hallyn <serge.hallyn@ubuntu.com>
use Dwight's recommendation for lxc.functions path: $datadir/lxc

Signed-off-by: Serge Hallyn <serge.hallyn@ubuntu.com>