beesh: remove unused and deprecated variables R and W

use BEEWORKDIR instead of W
and BEEPKGROOT instead of R
buildtypes: Add support for R packages

use BEE_BUILDTYPE=r-package to build r packages.

r packages are currently not detected automatically
bee-init: Add support for cran repository in url rewriting
Merge branch 'cran'

* cran:
  bee-init: Add support for cran repository in url rewriting
  buildtypes: Add support for R packages
  beesh: remove unused and deprecated variables R and W
bee-init: Rewrite URL for r-package buildtypes
Merge branch 'cran'

* cran:
  bee-init: Rewrite URL for r-package buildtypes
bee_version_compare: Fix leading zero comparision

fix a bug where pkg-1.02.3-0 was considered equal to pkg-1.2.4-0
because leading zeros caused the the algorithm to ignore and not
compare the rest of the string after detecting leading zeros.
Merge branch 'beeversion-fix'

* beeversion-fix:
  bee_version_compare: Fix leading zero comparision
Merge branch 'master' into bee-dep

* master:
  bee_version_compare: Fix leading zero comparision
  bee-init: Rewrite URL for r-package buildtypes
  bee-init: Add support for cran repository in url rewriting
  buildtypes: Add support for R packages
  beesh: remove unused and deprecated variables R and W