Merge pull request #64 from ShadowSam/master

Still untested but now compiling... necessary for teamwork. Do not pull unless working with subscription database infastructure change
Fixes
Merge branch 'subscriptions' of https://github.com/Venture-TheSphinxTeam/Sphinx into subscriptions
Close to working except, based on output, it is still pol pointing at the dev database. This is in the process of being tracked down. Also inally replaced all hardcoded database calls and username insertions