Created new src/ directory structure.

The code is now organised into:

  src/core - the "kernel" of snabbswitch
  src/lib  - libraries for apps to use
  src/apps - individual apps