An outline application for up to 54 houses in Whitby has been approved by councillors - despite local objections.