Refactor build/Gruntfile.js to make it more generic
add support for dpointer and dtreemap and use master instead of numbered versions