DMAP-33 - BrowserMap is forwarding the client to a wrong language variant

* extended the filter function used for getting the new url to which a client should be forwarded such that the current variant’s
hreflang is taken into consideration
* cleaned some JSDoc typos and misuse of tags
* bumping version to 1.4.0

git-svn-id: https://svn.apache.org/repos/asf/incubator/devicemap/trunk/browsermap/trunk@1543040 13f79535-47bb-0310-9956-ffa450edef68