Paul MacInnes: This Australian-made crime thriller, with Joel Edgerton as both star and writer, is smart enough to send us – and the film – in unexpected directions