[build] Simplify how examples are organised -

* no need for subdirectories - it's not a app framework and
  should be kept simple, so a single example shall always be
  just one file

* adjust it to work the same way unit tests are done