flux-start: fix srun job name option

srun(1) option to set job name is --job-name not --jobname.
flux-start: use POSIXLY_CORRECT when processing args with getopt

We don't want to parse flux-start `command` args as our own, so
be sure to set the POSIXLY_CORRECT flag for getopt_long() so
that it stops processing at the first non-option arg. That way
commands with arguments are processed unharmed. (This is done
by prepending '+' to shortopts in getopt_long(3).

For example, before this commit, flux-start eradicates all options
to wreckrun in this test:

 flux start -N4 flux wreckrun -N4 hostname

after the commit, wreckrun args should be preserved.
Merge pull request #2 from grondo/flux-start-fixes

Fixes for flux-start
doc: README.md should mention lua 5.1 as build req
build: wreck needs $(LUA_INCLUDE) on ubuntu

On ubuntu, liblua5.1-0-dev packages lua.h in /usr/include/lua5.1
build: wrexecd needs $(LIBPTHREAD) on ubuntu

We get undefined pthread_mutex_trylock() at link time on ubuntu
when linking wrexecd without -lpthread
flux-start: include <sys/resource.h> for ubuntu
doc: README.md should mention asciidoc
test: get spellcheck working with newer automake

Putting a command in TEST_ENVIRONMENT and expecting it
to iterate over a list of arguments in TEST is fragile.
In newer automakes, other things are appended to TEST_ENVIRONMENT
and this breaks.

Modify the man page spell checker so that it is one test
called 'spellcheck' that checks all the *.[1-9] files it can glob.
test: add some words to dict for ubuntu

Apparently these words were in our dictionary for rhel6 but
not on ubuntu.
build: link libcore against $(LIBDL) for ubuntu
build: add LIBUTIL to lua binding for ubuntu

Without this forkpty() comes up undefined
Merge pull request #6 from garlick/ubuntu-fixes

Various minor fixes when building on ubuntu 14.04.1 LTS Trusty Tahr
flux-module: display dlerror() on failure

We had a silent exit(1) on flux module load by path where
the file exists but dlopen()/dlsym() fails.  dlopen() fails
when there is any unresolved symbol, so expect this to happen.
security: don't generate zero keys when CURVE support is missing

If CURVE support is missing at runtime, zcert_new() will unfortunately
generate zeroed keys instead of failing. These zeroed keys will later
cause assertions in the zeromq code.

Instead replace zcert_new() with zmq_curve_keypair()/zcert_new_from().
zmq_curve_keypair() should fail with errno == ENOTSUP if CURVE
support is missing from libzmq, so we can generate a reasonable
error instead of silently failing.

Fixes #7
build: fix typo in pkg-config file

Typo was preventing flux-core.pc from working properly when installed
to a prefix in home directory.
build: include flux_barrier() in -lflux-core
build: configure time check for CURVE support in libzmq

Use AC_RUN_IFELSE with zmq_curve_keypair() to detect at configure
time if the libzmq we're building against is compiled with
security (libsodium).

Fixes #7
Merge pull request #10 from grondo/keygen-fixes-3

keygen fixes
Merge pull request #9 from garlick/misc-fixes

Misc fixes