switch to using the profiler in moveit and add one more debug tool
minor fixes and add demo database construction code