Refactor header validation

Two main changes:
- Injecting filters to Generator class, avoiding using static methods and start using a instance of Filters
- Add tests for fitler_response_headers on Filters, there was a empty test related with freshness headers