Added href fallback for hostname when determining location.
Merge pull request #66 from reecer/file-support

File protocol support