Updated the request limits in config/read.

The config/read API was returning the wrong values for the maximum parameter and total request sizes. A minor refactor has made these easily accessible to the entire app.

Closes #528