allow get original data when document modified
get dsn
improve belongsToCollection to check connection dsn
refactor getting name for throwing exception when getting name of db not possible