API: force to HTTPS

unless running on localhost. *I need to test this on Heroku and Azure.*
Nevermind, that didn't work.
API: force to HTTPS

unless running on localhost. *I need push this before I cantest this on
Heroku and Azure.*
Merge pull request #14 from nightscout/feature/base-api

Feature/base api