Use insertGetId instead of just insert

This way we don't always get returned 1 and will in fact get the inserted ID.
Merge pull request #5 from underparnv/master

Use insertGetId instead of just insert.