The Pajama Factory cleared a hurdle Thursday with City Council as the owner goes through the steps needed to convert unused space inside huge structure into studio apartments, two-bedroom lofts and larger living spaces for the building’s tenants, which includie working artists, performers and small business owners