Refactor: executor: add API function for meta-data call with parameters
This adds a get_metadata_param() function to the lrmd API for calling
the meta-data action with parameters passed to the environment. The
parameters will currently only by used with OCF agents, not any other
standards, including fence agents.