An Essex school is out of special measures after getting a grip on bullying and sexist behaviour.