Add support for app.set('views', array)

closes #2320