Trim only the separator key at end of path

Modifies https://github.com/karellm/i18next-parser/issues/11 to trim only separators at end of the path. Otherwise
```js
i18n.t("Loading...") 
```
With separator ':' turns into "Loading..".