Added ugrid_fucntions to the bes modules build.
Merge remote-tracking branch 'origin/modules'
Fixed configure.ac and unit-tests/Makefile.am after merging with 'modules'