last_insert_id function for db.
Merge branch 'master' of https://github.com/Lexy92/Funeral