changes template engine to hogan.js

closes #6 and possibly fixes #5