adapt to django 1.6; switch to use nose for tests; add IPN_DOMAIN, IPN_HTTP_PROTOCOL settings; other refinements here and there