Added filtering helpers.

Filter helpers were added to streamline the filter panel code in the
filter partial. Currently there is still an issue with values getting
correctly set after a ransack filter.