change task to erlydtl.compile, add basic tests, fix some docs