Update app.coffee

fix bug init sblocks before layout update
fix listview: initialize collection if it defined