appbuilder: implementa init(), para inicializar specview e configview.

Signed-off-by: Francisco Prates <mad.kanie@gmail.com>
shell: desconsidera config.state para ajustar keepview se
o primeiro e nulo.

Signed-off-by: Francisco Prates <mad.kanie@gmail.com>