add the `lxc remote` command

Signed-off-by: Tycho Andersen <tycho.andersen@canonical.com>

Conflicts:
	lxc/main.go
Support alternate config paths via --config

Also, only main.go really needs to load the config, so let's get rid of some
duplication.

Signed-off-by: Tycho Andersen <tycho.andersen@canonical.com>
add tests for `lxc remote`

Signed-off-by: Tycho Andersen <tycho.andersen@canonical.com>
help: use first line as summary

Commands like 'lxc remote' have more than one way to invoke them. Instead of
taking the second line after the first full line, we should just use the first
line of the command as its summary.

Signed-off-by: Tycho Andersen <tycho.andersen@canonical.com>
travis: build against branched version of lxd

Since we're using github.com/lxc/lxd as our import, if a pull request has
modified the library lxd, without this step we use the unmodified tree at
github.com/lxc/lxd, which doesn't have the pull request's changes, so we
manually overwrite the imported version with our changes.

Signed-off-by: Tycho Andersen <tycho.andersen@canonical.com>
store cert filenames into client/daemon structs

Signed-off-by: Serge Hallyn <serge.hallyn@ubuntu.com>
Merge pull request #35 from tych0/remotes

Remotes
Merge branch 'cert' into cert.2

Conflicts:
	lxc/main.go
switch to https.  this doesn't work right now due to self-signed certs

Signed-off-by: Serge Hallyn <serge.hallyn@ubuntu.com>
have 'lxc remote add serve1' ask serve1 to store the client cert

The actual adding isn't done yet, mainly bc i need to figure out how
to get the cert from the connection.

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