Allow customizable API key

Some sites will use an API key and that needs to be supported. In order
to support other sites, it has been added as a preference. For our
site it is a constant to prevent users accidentally changing it.

Thanks to @Kondra007 for the code!

Change-Id: I6aaa9364096521ff1f469f18d5fa6b3093e5286b