Add a user namespace idmap specification

Closes: #19

Signed-off-by: Stéphane Graber <stgraber@ubuntu.com>
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>
Merge pull request #32 from stgraber/userns-spec

Add a user namespace idmap specification
Merge pull request #33 from stgraber/master

Add initial rest-api spec
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>
Merge pull request #35 from tych0/remotes

Remotes
spec: remove the --stateful flag from the move command

Per discussion on the mailing list, we can remove the --stateful flag from
move, as it is implied by the current container state.

Signed-off-by: Tycho Andersen <tycho.andersen@canonical.com>
Merge pull request #37 from tych0/drop-stateful-move-flag

spec: remove the --stateful flag from the move command
Add some details about trust relationships

This adds the following things:
 - Unauthenticated API endpoints
 - trust REST API
 - Failure scenari related to SSL for the client
 - "lxc config trust" to the command line
 - Update some "lxc config" commands to support querying/setting server
   settings.
 - Fix some consistency issues.

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