Ensure correct return values for Map get/set

- get returns undefined when a key lookup fails
- set returns the map object

Fixes #22