Move test_size and bind_fid to common code.
Move wait_for_completion to common code and change simple/pingpong.c to
work with wait_for_completion.
Make fi_info a little more general:
./simple/fi_info -h
usage: ./simple/fi_info
  -n, --node=NAME               node name or address
  -p, --port=PNUM               port number
  -c, --caps=CAP1|CAP2..        one or more capabilities: FI_MSG|FI_RMA...
  -m, --mode=MOD1|MOD2..        one or more modes, default all modes
  -e, --ep_type=EPTYPE          specify single endpoint type: FI_EP_MSG, FI_EP_DGRAM...

Use like:

$ fi_info -e FI_EP_MSG -c FI_MSG
Merge remote-tracking branch 'upstream/master' into upcommit
Merge pull request #45 from pmmccorm/master

Make fi_info a little more general:
Remove bind_fid. Update test_size. Use max_msg_size in ud_pingpong.
Merge pull request #44 from soniczhao/upcommit

Move test_size, bind_fid and wait_for_completion to common code.
Use fi_cq_readerr to read queue errors when fi_cq_read returns EAVAIL.

Signed-off-by: Arun C Ilango <arun.ilango@intel.com>