newui: Add view with an input and validation methods

Used for:
- Create container
- Create object
- Rename object

The view trims the value of the input and checks if:
- is empty
- has too many characters
- has slashes in it (for containers)

If the value of the input is valid so far, then the view triggers
the controller to check if the new id of the record is already
taken.