frame.py By Paul Malmsten, 2010 pmalmsten@gmail.com Represents an API frame for communicating with an XBee