Cleanup in automate method editor.

- 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.

@dclarizio please review/test