add logstate.py - pluggable logging for pypjua events. handles siptrace, pjsip trace, registration status, invitation status

darcs-hash:20090210132646-b2873-4de9781c673a12afea3749f85470636e9f44e9c5