Portland City Council settles on council president in contentious first meeting