silence git warning about detached head

use reset --hard to check out the desired revision
remove unnecessary comments from Makefile

remove leftovers from the example Makefile, they are unnededly printed during the build
fix oonf_api build with GNU Make 4.0

fixes #884