oAuth2 middleware library

port of martini-contrib/oauth2