Mortgage rates remained below 4 percent for the twelfth week in a row, continuing a run of about three months of low rates.