PMIC: First pass at event group base task, not tested
Merge branch 'master' into feature/PMICTask

* master: (43 commits)
  Debug Library: Reinstate protection around logHWM()
  Move debug task into library
  Adding PIEZO_PWM pin definition that can be used with analogWrite()
  Forgot to swap buttons in variants file
  Add rtc to API
  Set time when discovery packet is received
  Add modified library
  Protect logHWM, fix frRGBTask, remove frLightFadeTest
  Allow Apps to be opened through Tilda API
  Move RGB Led functions into Tilda api
  Add delay to Tilda API
  Move createButtonSubscription and log into Tilda class
  Add helper function for not-yet-set badge id
  Add badgeId field to SettingsStore
  Fix errors
  Add simple sketch that displays unique id
  Typo
  Add DueFlashStorage library, create SettingsStore class that reads unique id from the M3
  Adding some const. AppManager now not static.
  Prefixing debug::log messages
  ...

Conflicts:
	EMF2014/PMICTask.h
PMIC: adding task start, and interface to Tilda.h, fixing other stuff
Fixing RGBTask and change LED home screen to not blind us.
Merge pull request #61 from emfcamp/feature/PMICTask

Feature/pmic task as part of #20
merge