added valid_render_options, changed query_for to hash, can_filter_by options turned into default_value and can_filter_by_query methods, split controller into more methods and concerns