Merge pull request #249 from typesafehub/wip/havocp-build-api

Move the current not-really-designed build API over to build.js
Merge branch 'master' into wip/havocp-log-hack-removal