fix for i18n stuff in IE10 and china firefox

Added a unit test where in china, the request from firefox browser was resulting in displaying english which can frustrate users there who have zh_cn as their first language.  The previous code picked the first lang match in the list in application.conf instead of the first in the list of the browsers request.