Merge "Migrate tempest-lib code into new lib dir"