"before a provincial head of social development may assign functions to a municipal manager as contemplated in section of the act he or she must conduct a needs assessment on the assignment of the functions referred to in that section in consultation with the municipality concerned"