refactor model

View logic moved to view and helpers.
Tag links now use javascript for query search, and now not rewrite previous query setting in filters. Now it’s work for all pages issues, gantt and calendar