Add support for customized build types ("buildTypes"). Fixes #78.

Also changes the way the $DFLAGS environment variable works: passing --build=xyz will now cause DFLAGS to be ignored.
Update change log.