use express internal settings object

replace the app.locals call in app.js

add handlebars ifvalue helper

use the settings.env for livereload script inclusion in development mode'
add express 4 feature