the action's request method handling methods and the isSimple method now use code templates located in templates/code/actions to make the function definitions adaptable by the user

refs #1106