Expose project source directory to JavaScript side.

Task-number: QBS-567
Change-Id: If2b09c42760426bf9d22c77a2f33083a1f839c94
Reviewed-by: Joerg Bornemann <joerg.bornemann@digia.com>