[template] Adjust robot template for automatic doc generation

- Add _name entry
- Adapt the indentation of class comment, so the generator will handle
  it properly