Fixed lurking bugs with a couple of methods

notably end_is_attribute and append
Allow Paths to be used where PathStrings are expected.
Added make_list_query and unit tests.

This method makes it easier to construct valid list queries
from multi-node queries.