Added support for supplying regular expressions to tpl remove
Added entriesPerPage support for the search resolver
Ensure $bias is always defined