Thanks go to Edmund von der Burg and Nick Whitlegg
- UTF8 hell today. Looks like data is broken in the db now. String.isutf8 is only in Ruby 1.8.5 (current stable for most distros is 1.8.4) so backport needed for checking.
- patched cgi.rb due to a big hole
- added PRCONDITION_FAILED on rails api if segs nodes arnt available, or ways segs