Some misc fixes and fi_cntr example

misc_fixes:
1. Remove references to print_test_hdr.
2. Update FI_PROV_MR_KEY to FI_PROV_MR_ATTR.
3. Return for getaddr failure case.

Added an example for fi_cntr.