Added method to DB for getting the array of indexed values.
Merge pull request #54 from ShadowSam/master

Logic added to gather subscriptions needed to send to the subscription management page
just for me