fixed possible panic in LastInsertId Issue #23
return error from LastInsertId in case @@identity returned NULL
Merge pull request #24 from denisenkom/bug23

Bug23