get_current_module_ident does not fail now if a module is new
Get the latest module by ordering by revised instead of module ident
update_latest trigger now only inserts if module is really latest

Module is latest if it has the most recent revised
Merge pull request #78 from karenc/fix-update-latest

Fix update latest