Remove unnecessary expectations
Simplify validation
Rename app_dir to sources_dir
Rewrite app archiving and restoring
Remove CONFIGURE_APP option
Introduce app sources hash and simplify validation
Simplify hooks
Simplify activation
Improve naming
Simplify sandbox matching
Rewrite app layer