Merge pull request #743 from srazi/master

Update HTTP authorization when needed+remove redundant casting
Better RTL support for LocationCompleter and add direction property to dirlist.html