add in_dir from knitr to utils.
pagify and blogify can run from any directory
major refactoring of code.
change package name to poirot and bump version