extractCaretTarget function

Extracts the target variable from a set of arguments headed to the caret::train function.