Add some system and debug options
Merge branch 'unstable' of github.com:btlamp/lamp_firmware into unstable