handle query result flat table _id column preferred size

add dblclick event on query result tables:
  - open document on flat table row
  - expand node on tree table if children, edit document otherwise
refactoring
add restore default json rendering values in options