Validate API endpoint data (#245)

- base_uri should be a valid URL
- cert should be a valid X.509 cert in PEM format
Provide server REST API base URI and certificate (#245 note-25)

- Include Registry API form at generate firmware configuration page.
- Add two new UCI options
- Update '/etc/config/confine' to render new UCI section 'registry'