[ffigen] Add common code path for test configs (#491) * Add common code path for test configs * separate example configs from pubspec.yaml for testing * share example configs with tests * use chDir for native test * Ensure local package paths work in tests * regen + concurrency=1 to fix race conditions