Fix #1146 -- add dir=rtl to <html> tag where necessary

Signed-off-by: Chris “Kwpolska” Warrick <kwpolska@gmail.com>
there is really no reason for that file, base's works just fine
implement reasonable(ish) get_translation_candidate
rewrite way-too-smart code, avoid repeated compiler extensions
nicer set-based post scanning
no special casing needed anymore
and finally, make Post.translated_to contain the right thing (fix #1194)
flake8
typo
fix rss tests
avoid post/story duplication
fix addthis in bootstrap3 (thanks @mazuhl in #731)
support dots in the path part, make language much less greedy
more tests (one fails)
make path regexp less greedy, all tests pass
Merge pull request #1196 from getnikola/fix-1194

Fix #1194
Merge pull request #1181 from getnikola/fix-rtl

Fix #1146 -- add dir=rtl to <html> tag where necessary
add commented line that's useful when debugging build instability
Fix #1195 -- evaluate TranslatableSettings into multiple languages in init.

Note that we do not support default language changes along the way.
We did not need it anyway.

Signed-off-by: Chris “Kwpolska” Warrick <kwpolska@gmail.com>
Merge pull request #1200 from getnikola/evaluate-translatablesettings-at-init

Fix #1195 -- evaluate TranslatableSettings into multiple languages in init.