Fix StrMap.foldM implementation

It previously did not work correctly with monads that deferred
evaluation (like Eff) because k had the wrong scope.  This adds an
explicit closure for k.  Fixes #18
Merge pull request #21 from dylex/master

Fix StrMap.foldM implementation