Added new filters localizednumber and localizedcurrency on Intl extension
Rename getNumberFormatter to twig_get_number_formatter
Add checks on "localizednumber" and "localizedcurrency" filters and small tweaks
Add documentation for localizednumber and localizedcurrency filters
feature #115 Add "localizednumber" and "localizedcurrency" filters (Garfield-fr, michaelperrin)

This PR was merged into the 1.1.x-dev branch.

Discussion
----------

Add "localizednumber" and "localizedcurrency" filters

Hello,

This is a new version of PR #55 proposed by @Garfield-fr:

* Rebased on the `master` branch
* Made some changes according to comments made by @stof: remove unneeded arguments, checks on provided values
* Added documentation

As for the name of these filters, I would go for `localized_date`, `localized_number` and `localized_currency` but as `localizeddate` already exists, I preferred to keep the (weird) naming convention to keep backward compatibility.

Naming conventions changes could be made in an other PR, for a future version of Twig.

I didn't add tests as there is currently no test for any filter (apart from grammar checks).

I can squash all commits into one if needed.

Commits
-------

76f532d Add documentation for localizednumber and localizedcurrency filters
f6c4130 Add checks on "localizednumber" and "localizedcurrency" filters and small tweaks
380f7f0 Rename getNumberFormatter to twig_get_number_formatter
448a309 Added new filters localizednumber and localizedcurrency on Intl extension
Removes nl2br from the text documentation

The documentation for the text extensions still refers to the
nl2br tag, which has been removed from extensions and added to
the main Twig repo. This commit removes the mention of nl2br
from this repo.
minor #118 Removes nl2br from the text documentation (enkrates)

This PR was merged into the 1.1.x-dev branch.

Discussion
----------

Removes nl2br from the text documentation

The documentation for the text extensions still refers to the
nl2br tag, which has been removed from extensions and added to
the main Twig repo. This commit removes the mention of nl2br
from this repo.

Commits
-------

9af0ed4 Removes nl2br from the text documentation
Merge remote-tracking branch 'fabpot/master'