A developer has secured local approvals to build a new 20-unit apartment building with commercial space in Jersey City’s Heights neighborhood.