app/hooks: added suport for build in app.yaml.

related to #557.
misc: fixed file name.