more docs.
added detection for the jsonp stuff.
tests for jsonp stuff.
removed debug code, use Attributes::Simple to declare attributes.