Adding resource folder creation for mkjavaproject

Also, improving setup script.

Now we can install scripties locally (for development purpose)
by applying the parameter token to setup.sh

./setup.sh local: install from local repository
./setup.sh: install from github.