asterisk_logger - now uses asterisk_digits_to_match
Changed console.log statements to YAAI.log, defining console if not defined.

Was getting an error in json checkfor new states... Possible fix.