refine API for jslib:

- make target of build an explicit parameter for BuildDir, BuildFile, and NewBuilder
- removing Target attribute from Options which makes them fully optional
- modify toBuildOptions to make create compliant build.Options even if
  *Options is nil
- adjust documentation