A developer is nearing completion of a new upscale rental building in downtown Somerville, the latest among several projects that are slated for the Somerset County borough.