fixed misplaced error handlers and other small fixes
fixed wrong field in by_date view
added missing toVOs
swapping startkey and endkey when querying descending
removed skip for simple id ests