gradle build script cleanup
Made startup more robust against invalid documentation directory beeing configured. In this case an empty documentation will be provided. Also introduced the fallback to a documentation example, that is looked for int he resources (but this example is still empty/missing)