better session and flash handling, improved default tpl vars naming, app hasEngine() method