[FEATURE query-params-new] Model dep state and bugfixes

Query params values are stored in an application cache
using cache keys calculated from Route#serialize params.
At some point this concept will be generalized, but
for now, only query params have model dependent state.
Merge pull request #4898 from machty/qp-may

[FEATURE query-params-new] Model dep state and bugfixes