WHISTLE-1441: formatting and spe updates

Conflicts:
	whistle_apps/src/whapps_account_config.erl
WHISTLE-1441: update spec for record

WHISTLE-1441: start to listen for route requests, may be agent BLF trying to toggle status

WHISTLE-1441: space out when agent checks are made (will need to revisit this at a future date)

WHISTLE-1441: use the API status updates instead of rolling it again on Agent BLF toggle

WHISTLE-1441: pull fields from the record in the function header

WHISTLE-1441: formatting

WHSITLE-1441: change agent manager to refresh agents in a bulk operation, not on a per-agent timer

WHISTLE-1441: stop sending info to acdc_agent_mananger from acdc_agent_sup

WHISTLE-1441: remove log line, decrease AMQP timeout

WHISTLE-1441: fetch the doc from the DB to validate the pvt_type field

WHISTLE-1441: remove log line

WHISTLE-1441: add clause to not crash

WHISTLE-1441: hotdesk the agent from the BLF/speed-dial

WHISTLE-1441: add clause to not crash

WHISTLE-1441: lookup an agent's devices

WHISTLE-1441: remove unused code

WHISTLE-1441: update the spec for the proplist return

WHISTLE-1441: clear the call on ack/nack

WHISTLE-1441: update makefile to include gproc

WHISTLE-1441: add call-id to error responses for dialplan commands

WHISTLE-1441: catch crash if Key already is registered to PID

WHISTLE-1441: check for the recovered flag on the new dialplan fetch request; if exists, return park; otherwise search for the route (for things like transfers)

WHISTLE-1441: fix return to not crash when resuming activity via BLF/speed-dial action

WHISTLE-1441: only route to the no_match callflow if the number dialed is all digits (ignoring the '+' at the beginning)

WHISTLE-1441: when BLF/speed-dialing with queue id, connect a waiting call to the caller

WHISTLE-1441: start to re-work supervisor structure to allow for connecting lots of calls simulataneously

WHISTLE-1441: updating queue architecture docs

WHISTLE-1441: rename queue process to queue_listener

WHISTLE-1441: return just the count of results of a view

WHISTLE-1441: update the refs to acdc_queue

WHISTLE-1441: start process with account id and queue id only, and start queue workers after init

WHISTLE-1441: start supervisors using account and queue id instead of the queue json object

WHISTLE-1441: starting to harmonize the internal startup/referencing of the new heirarchy

WHISTLE-1441: rework of hierarchy mostly finished at this point! pool of queue workers for processing calls ftw

WHISTLE-1441: formatting change

WHISTLE-1441: trying to get tests working again

WHISTLE-1441: formatting and adding a delete_registration helper for local registrations

WHISTLE-1441: refactor some code to remove indentation, update specs

WHISTLE-1441: fix spec typo

WHISTLE-1441: on startup, flush the list of nodes if empty or an error

WHISTLE-1441: introduce thieves to steal calls from a queue (via BLF speed dial)

WHISTLE-1441: add some hibernates and export start_fsm/4

WHISTLE-1441: start the thief, connect to caller, stop agent when call ends

WHISTLE-1441: update spec for record

WHISTLE-1441: don't unbind from other call events

WHISTLE-1441: send connect accepted when transitioning to answered state; only load queues (agents will init from within queues)

WHISTLE-1441: start agents up as part of queue's init

WHISTLE-1441: convenience wrapper for starting one new worker
v2.06: update the inequality checks to be inclusive, instead of exclusive
WHISTLE-42: use variables vs ets
WHISTLE-42: fix attachment delete bug and id listing
WHISTLE-1441: add Caller ID information from the member call to the agent's origination request
WHISTLE-1441: add Caller ID information from the member call to the agent's origination request
WHISTLE-42: remove unused vars, fix CORS bug for unloaded module 404, and return the deleted doc
WHISTLE-42: attempt 1 to wait for view updates
WHISTLE-42: add the missing )
WHISTLE-42: add a short-circuit for non per-minute, skip check for local call controll process, and correct , to .
WHISTLE-42: log call history to filesystem, fixes for restarting agent processes if they crash, and removal of auto-logout, and update supervisor child specs
WHISTLE-42: ignore calls dir in ACDc
WHISTLE-42: cast all values to binary (encoding high value integers)
WHISTLE-42: return the same tag for the tuple when cached as during lookup