Add tests for get_best_locale util function
Pass get_best_locale tests

Convert locales to lowercase before comparing them. Use correct exception type for iterator that doesn't find a next item.
Refactor Download Tab tests into seperate files
Test facebookapps' js_redirect util function