moved endswith to utils.
Adding template filters.
Template filters!