Added common model for queries. Added common components for queries
Merge branch 'master' of https://github.com/gradesystem/grade-console.git