Added getAccessToken and getSubscriptions functionality.

Let me know if you feel like these changes could be approached in a more optimal manner.  They add some useful functionality for my purposes, hopefully they are more generally useful too.