Change the returned object to Element for GetParameterValueByName

<h4>Summary</h4>

When we set a parameter value for an element ID, there is no proper overloaded function. As a result, an exception will be thrown.

In this submission, I am adding an overloaded function to set parameter for an element ID.

@pboyer 
@sharadkjaiswal 
PTAL
Yup!