added const knode& return values where appropiate
Merge branch 'vdev' into develop
Merge branch 'develop' into sdev
added test case for e_movereverse to reproduce the crash