Changes to set priority for params & show focus on input name in form.

- Changed code to not focus on method data code mirror textbox. Code mirror partial was set to always put focus on code mirror text box. When adding a new input parameter for a method, controller sends down JS command to focus on parameter name text field which was not working as when replacing the whole screen code mirror field focus was taking over.
- Added code to set a priority as last for newly added input parameters so they are displayed in same order as they were added on screen.
Merge pull request #1072 from h-kataria/automate_method_editor_cleanup

Changes to set priority for params & show focus on input name in form..