Synonyms for Contrariness (same or very similar meaning)
WordNet sense 1 (deliberate and stubborn unruliness and resistance to guidance or discipline):
perverseness, perversity
WordNet sense 2 (a fussy and eccentric disposition):
crankiness, grumpiness, crotchetiness
From the ODE community, based on WordNet
add/edit