Fixed a number of problems related to building CRAN

- require() implemented corrected
- dataset layout simplified
- maven mojos parameterized so it can be used for GNU-style package layouts
- resolved problem with gcc-bridge and cyclic type references