Issue #1092270 by jobeirne, steinmb and juampy: Decouple OAuth code from Drupal module via Libraries API. Added a check at hook_init() before including the library.