layout for trip adapter, created AbstractDetailsActivity for list/details views (small refactoring of list/detail model), fix for db errors