split parse-resource-url into 2 functions for relative/absolute urls.

also updated absolute resource url parsing to not require the server
base url to be passed in, which is oh-so-much-nicer
forgot this
add helper functions for converting between relative and absolute URLs
bump version