KAZOO-2991: only flush when device credentials change

It uses `cb_context:context()` and `crossbar_util:flush_registration/2` to do the work. I don't want kz_device tied to Crossbar, so for now, am omitting this functionality.