resolves #470 allow uri to be used in inline image

- don't mangle imagesdir value if its a uri
add compatibility for handling absolute and uri image targets
Merge pull request #477 from mojavelinux/inline-image-with-url

resolves #470 allow uri to be used in inline image