Added icsf_to_ock_err function

- If error occurs in a function that uses icsf_call, uses new function
  to convert the reason code to an ock error.
- Replaced NULL with reason variable in some function calls
- Made changes per design change and feedback comments
- Corrected some OCK_LOG_DEBUG calls that failed to compile with debug
  enabled

Signed-off-by: Debora V Babb <dvelarde@us.ibm.com>
Reviewed-by: Joy Latten
Reviewed-by: Marcelo Cerri