Add job flow role to configuration options

Pretty much the same code as #72, but with tests for happy merging.