Plan/DB: Dune code style fixed.
Programs: test_plan: Added some DB functions.