- introduce loader_reset() that frees all memory
- resolve memory leak in loader_format_shlibpath()
- correctly handle library reload: check if a function has been
retrieved already. Don't leak memory (strdup()), and handle multiple
reloads of different functions from the same SO