added a script that detects all references of g:render with templates in both controllers and views
improved on the detect command
added exit status messages to check if the command found matches