Emplace.
Fixes.
Merge pull request #321 from pleroy/Emplace

Use emplace instead of insert whenever possible for set and map.