2600hz/kazoo — pull request #618 by cando-1p (2014-11-18 05:59:30+00:00)
Title: Auth-By-IP fix for authz and add sup cmd

Authz relied on vars normally set when call is challenged and FS dynamically requests directory from ecallmgr. So the vars were set when channel create event kicks off authz. But for auth-by-IP FS never does directory request because of trusted ACL.

Moved the auth-by-IP lookup from reg_route_req.erl to reg_authn_req.erl. Added caching.
Created reg_authz_req.erl to listen for authz requests and if account info is missing try auth-by-IP lookup.
Added sup command registrar_maintenance dev-by-ip