Feature/oauth2 provider testing

@scotdalton There is still a long way to go before this is merge ready, but I thought I'd put it on your radar.
@hannan These are all related to doorkeeper, I would keep them in the doorkeeper helper just because clientapp doesn't really mean anything outside that context.