xpath_str macro for more efficient usage, allow parsing and using any type of xpath expression, fix several bugs, and update readme