Command to close tag currently unclosed tag

I've added a command to auto-close tags and bound it to cmd-alt-. .

For instance:
```html
<html>
  <head>
  </head>
  <body>
    <p>By selecting the command (or activating the cmd-alt-. key binding) 
      <a href="some url">in this position, the command would close the "a" tag;  pressing it 
           again, it would close the "p" tag; pressing it a third time nothing would happen (all 
           other tags are closed in the remaining of the document).
</body>
</html>
```

The command works by  identifying the last opened tag that has not yet been closed (at the cursor position). Than checks if in the  part of the html document following the cursor  the found tag is closed. If a closing tag is not found, it then it insert the closing tag at the current cursor position.


Please remove any `()` that are empty, they can just be plain old `->`