Currently this stuff is used for 2d tracking job only, but the same thing would necessary for camera solver job, so moved it into more general utility stuff.