Harmonize code style on backend and remove circ deps

We added $plugin->get_ua to handle OAuth2 entirely, and we adopted the use of $req->extended_attributes too. This should be done on the Base.pmfile.