Use mutable Map for storing local actions

If multiple Ajax requests are submitted at once, they'll get independent
copies of the LocalActions map.  This may result in subsequent errors if
local actions created by e.g. the first request are used later in
combination with a snapshot created by a later request.
Update versions