Ios app links

Better handle links when operating in iOS Standalone (homescreen application) mode...

Local links no longer opened in safari, remote links opened in the normal way.