Added api-endpoints to retrieve list of subjects (/api/subjects) and productTypes (/api/producttypes). Now subject queries in post also use slug instead of name so we can create new subjects
in dashboard with upper-case letters (let's say 'Math') and it will be slugified (to 'math').