Remove sha module import

No longer uses sha module, since username is passed in basic http
authentication now.
Add helper functions to get settings

Add helper functions to gfet settings as various types.
Fixup formatTraktURL

Alter formatTraktURL to use bool setting helper function, and a ternary
operation to set http/https