platform/freertos/Makefile.freertos: fix various bugs

- CONTIKI_TARGET_MAIN had a bogus value. Strangely, nobody cared.
- overriding CONTIKI_TARGET_SOURCEFILES also breaks extending it.
  Introduce new variable CONTIKI_EXTRA_SOURCEFILES instead.
- likewise, extend PROJECTDIRS through CONTIKI_EXTRA_PROJECTDIRS