rewrite langlinks handling

* langlinks are now an associative array of languages and titles
* new Orig->getLanglinkFlags() method with code moved from View.php
* compareLanglinks() removed, langlinks are now only sorted by keys
  in Orig->getLanglinkFlags()