Created constants for the thread's filter and Moved thread and comment filter's constants inside models instead of controllers