Changed message_limit and delay

This will fix the annoying tree problem. 

If there are more than 200 cache files modx won't load the tree position cache file (modx-resource-tree.msg.php). 
The cache files are inside the core/cache/registry/state/ys/user.. directory.

I reduced the delay so the level of the tree will be saved faster.
Increase message_limit for ExtJS HttpStateProvider

Increases message_limit to handle up to 1000 different states (200 was previous limit)
Also reduces delay timer so state is saved faster

Merge remote-tracking branch 'origin/pr/797' into release-2.2

* origin/pr/797:
  Changed message_limit and delay