Use handlebars runtime from precompiled amd files

Fixes #644
Add simple binary utility tests