Revert "log view errors instead of ignoring them; change the keys parameter on views from string to []interface{}"

This reverts commit 2752648ef40af561f2d37d64ad71a7cc69ea6f6a.
log view errors instead of ignoring them.
add missing dateToArray function for map and reduce