Implement opening local files with relative paths, fixes Emdek/Otter#371

This commit fixes opening files by relative paths (#371), checking if the path exists (using QFileInfo).
If it does, it will open generated file:// URL. else it will go on, generating http:// URL.