better log directory test (closes #705)
added xss_escape function to Mojo::Util
bump version
removed some dead code