ux: add hidden comments indicators plus style tweaks
* add hidden comments indicator in diff lines
* make no new line at end of file marker red
* fixes bug where show/hide comments was not changing message
refs #4311
repo-schemas: refactor repository schemas and use it in API update/create functions.
- now it uses consistent way of serializing/validating data
- parent groups are consistenty handled by name parameter
- fixes #4133
- fixes other problems with bad data
- changes API slightly
- validation chain ordering, first permissions, then uniqness.
Helps prevent resource disvovery