add support for async AV insertions
- add context fields to av_insert calls
- add fields to fi_eq_entry and fi_eq_err_entry for completion of
  vectored operations
- update man pages
- implement async insrt in usnic provider

Signed-off-by: Reese Faucette <rfaucett@cisco.com>
Merge pull request #257 from rfaucett/pr/async_av

add support for async AV insertions
man/fi_msg: Fix typo describing struct fi_msg

Signed-off-by: Sean Hefty <sean.hefty@intel.com>
Merge pull request #262 from shefty/master

man/fi_msg: Fix typo describing struct fi_msg
distscript.pl: fix typo
Clean up mutex abstraction and atomic getter-setters in fi.h

The snippet in configure.ac which checked for intrinsics was incorrectly always
failing so the atomic gcc intrinsics have never been compiled. Additionally this set
is deprecated as of GCC 4.7 which introduced a new set of intrinsics. Replace them
with test for the new c11 intrinsics + implementation, tested on gcc 4.9.1.

Replaced the semaphore implementation of a mutex with a plain old pthread mutex.
semaphore.h is part of posix/libc, just like pthreads which we require
explicitly-- so just use that.

Allow the mutex to be compile-time selected as either a mutex or a spinlock.

Signed-off-by: pmmccorm <patrick.m.mccormick@intel.com>