added const knode& return values where appropiate
Merge branch 'vdev' into develop