Adding option to change protocol. Adding option to not use storedconfigs...

.... Bug fixes with string interpolation.

- Added an option so we can easily switch between http and https
- Added an option so as to not use storedconfigs in Puppet, and set to database to None and all request to it will be ignored.
- Wrapping string replacement (eg: %s) in quotes (eg: '%s') was causing issues with MySQL syntax.