doh, I forgot a : after else, time for a test suite! (closes #19)

I edited tabkram's commit and left out the semi-colon.
jitsi: carefully target specific service cases when writing out (closes #19)

The existing patterns were too broad, for example, this code:
  elif 'gmail' in key['name'].split('@')[1]
would also trigger a match if the domain name was "enigmail.com".