Make insert method work like instert methods in STL.

Specifically when inserting a key that already exists in the container.
Merge pull request #1 from jankner/master

Make insert method work like insert methods in STL.