fixes #1988 - CRUD Actions for nested parameters for host, domain, hostgroup, os

e.g.

GET    /api/domains/6/parameters
POST   /api/hosts/6/parameters
PUT    /api/hostgroups/6/parameters/100
DELETE /api/operatingsystems/6/parameters/100
Ensures that unused API v2 routes are not added when using nested routes

refs #1988 and refs #2239