NSW Upper Hunter MP Michael Johnsen has resigned from the NSW Parliament following a series of allegations about his conduct.