[forms] exception type fixes
[templating] rewrite pagination helpers

join pagination helpers to helper collection