Adding get function helper function to loader.

Example of usage:
"""
import ctypes

ctest_plugin = plugin_system.get_plugin("c.set0")
func = loader.get_function(ctest_plugin, "test1_func")
ctypes.CFUNCTYPE(None)(func)()
"""