Update to oauth2

LinkedIn now offers an oauth2 API endpoint (closes #1).

Also did some cleanups.