(PDB-660) Provide better validation for query params on environments & singleton end-points

This does proper validation for environments now, but also stops allowing
pagination and query parameters for end-points that return single items
since neither of those things make sense in that context.

Signed-off-by: Ken Barber <ken@bob.sh>