added document attr to environment vars

added print option to output to docpad console
updated README with usage info