rose edit: fix bugs found in testing.

Latent section errors are not dealt with correctly.
rose edit: add example compulsory app.

This gives some proper testing for rose edit and compulsory
settings.