Trachselwald. Dorf, Schloss, Gemeinde