Adding Methods For Application Only OAuth

Adding functions for obtaining an oauth token for applications only. Also added a method to invalidate those tokens as well.