add support for string-length function

see http://www.w3.org/TR/xpath/#function-string-length
add support for ends-with function

reimplements XPath 2.0 ends-with function using XPath 1.0 string,
             substring and string-length functions.
Merge branch 'ends-with-expression' into develop

Conflicts:
	spec/fixtures/simple.html