live: generate "live.ready" after all say hello
cmbd: start shell only after live.ready event

The idea is to wait until comms is wired up before spawning shell
and any test code that depends on a stable session.

In addition fixed a bug:
The api module began hitting this assert:
   zloop.c:303: zloop_set_tolerant:
     Assertion `item->socket || item->fd' failed.

rank0_shell() closes STDIN_FILENO, and the api module gets it back
from accept(), then passes it to zloop (via the module machinery).
zmq_poll has a big in zeromq4-4.0.4 in which fd 0 is treated as
an invalid descriptor.  Implement a workaround to ensure that fd 0
is reopened and not used for anything, for now until we move forward
zeromq4 and get a fix.
Merge pull request #24 from garlick/startup-sync

implement startup synchronization
ubuntu: fix unchecked system() return value

gcc 4.8.2 on ubuntu 14.04 says:

flux.c:401:9: error: ignoring return value of ‘system’, declared with attribute warn_unused_result [-Werror=unused-result]
         (void)system (cmd);
         ^
doc: man page typos, etc.
Merge pull request #26 from garlick/misc-fixes

couple minor tweaks to documentation and one ubuntu compilation issue
build: check for a2x program

Abort configure if a2x is not found.
Fixes issue #4
Merge pull request #27 from garlick/autoconf-asciidoc

build: check for a2x program
tests: Add sharness files

Add basic and simple system test infrastructure files under
${top_srcdir}/t. The source of the sharness.sh test library is
from the sharness project, which is a stripped down version of
the git testsuite.

The sharness test lib was modified slightly for use with Flux.
tests: wire the tests subdir into make check
tests: sharness testsuite tests

Add tests for the sharness testsuite itself.
tests: add basic functionality tests
tests: add basic flux tests that run under a flux comms session

These tests demonstrate the use of the `test_under_flux' function
to run a suite of tests (from a single .t test file) under a
purpose-spawned flux comms session (uses `flux start --size')
test: pass debug and verbose flags to test_under_flux

When reinvoking test script under a flux comms session, be sure to
pass along un-exported flags like verbose and debug.
test: t0001-basic: remove sleep at startup
test: initial sanity tests for kvs

Replicate some of the src/test/tNN tests into sharness teststuite.