Rewrite code updating navigation.rb

We re-generate navigation.rb fully now, instead of updating it live
(which can easily break if navigation.rb gets touched by someone).
Merge pull request #1858 from vuntz/rebuild-navigation

https://github.com/crowbar/crowbar/pull/1858

Merged by devtool for cloudsleuth