update wh_notify to take option amqp pool name
pass in ecallmgr's amqp pool name when sending notify
underscored unused var
cleaned up formatting, unused vars

refactored some functions to only build lists and other data elements
when needed

exported functions that were forgotten?
apply reschedule rules

attempt :  integer() | "any"
if "any" or field is absent applyies to any attempt
retry-after : seconds
configure in system_config/fax document

"reschedule": {
       "rule-name": {
           "attempt": 1 
           "compare-field": "result_code", 
           "compare-value": 500,
           "retry-after": 120,
           "new-retry-count": 7
       }
   }
KAZOO-2545-+-KAZOO-2546
for the sake of consistency
Merge pull request #376 from onnet/KAZOO-2545-+-KAZOO-2546

KAZOO-2545-+-KAZOO-2546  cb_faxes.erl corrections. thanks Kirill.
KAZOO-2092 reschedule map
Merge branch 'master' of https://github.com/2600hz/kazoo.git into KAZOO-2092
KAZOO-2092 done
Merge pull request #374 from 2600hz/wh_notify_and_pinger

Wh notify and pinger
KAZOO-2092: update defaults
Merge pull request #370 from 2600hz/KAZOO-2092

KAZOO-2092 apply reschedule rules for faxes
KAZOO-2554: set ignore-early-media for mobile devices
KAZOO-2472: simplify getting the count in a view
KAZOO-2472: add ability to set the beginnings of the resp envelope with
custom data
KAZOO-2472: add a view pagination function to crossbar_doc
KAZOO-2472: add an identity function
KAZOO-2472: remove direct cb_context access