New $navigationObject arg passed by reference in baun.filesToNav event.
New $navigationObject arg passed by reference in baun.filesToNav event.

It was not possible to actually edit navigation nodes as array objects are
not passed by reference.

 - Create new $navigationObject that is passed by reference
 - Update $navigation array with changes to $navigationObject->nodes
 - Maintain backwards compatibility

BaunCMS/Framework,okdana/Framework