API: Added post-types endpoints with fully working pagination and tax/meta queries