plug ResourceFinder leak when no yarp::os::Network created, fixes #264

@drdanz does this seem reasonable? Similar to what you suggested except call to `finiMinimum` happens at end of program.