Invalid apikey handling

Data is sent only sent if apikey is present, length 32 and not all x's
Changes to pause function

Refined the options to just on, in, out and off. (need to decide if "on"
is better than "all" or "full") and all other entries are ignored with a
log message warning. also added a log warning for invalid/ignored Jee
settings. changed default pause status to "off" rather than 0, more
informative message and str.lower works better. str.lower implemented to
reduce case typos.
Merge pull request #106 from otherWIP/testing

Minor settings amendments