[Translator] coding style
[Translator] fix MessageCatalogueInterface::getFallbackCatalogue that can return null

also use inheritdoc for the implementation
[Translator] mention that the message id may also be an object that can be cast to string in TranslatorInterface and fix the IdentityTranslator that did not respect this
[Translator] fix phpdoc of MessageCatalogueInterface::add and ::replace
[Translator] optimized adding of resources and saving a call to array_unique
[Translator] fix typecast in transChoice
[Translator] fix metadata

- fix '0' problem
- only access metadata when implementing interface
- refactor code
- clarify phpdoc
[Finder] Unified tests
fixed CS
Revert "merged branch jfsimon/issue-6749 (PR #7220)"

This reverts commit f52120bdd33bcc83157fc55ee088a564c727fa59, reversing
changes made to 66c2be30d06bf8c9bee9e07aa57be245763c2478.
[Console] added string input test
[Console] fixed StringInput binding
[DomCrawler] Fix relative path handling in links

Added relative path canonicalization according to RFC 3986, section 5.2.4
[ClassLoader] made DebugClassLoader idempotent
[ClassLoader] tweaked test
[Routing] make xml loader more tolerant

schemes and methods may also be delimited by whitespace, comma or pipe.
this eases migration as now schemes="GET|POST" also works
[Routing] unify and fix the loader tests
Unset loading[$id] in ContainerBuilder on exception
merged branch chx/master (PR #7261)

This PR was submitted for the master branch but it was merged into the 2.1 branch instead (closes #7261).

Commits
-------

ff8c5ca Unset loading[$id] in ContainerBuilder on exception

Discussion
----------

Unset loading[$id] in ContainerBuilder on exception

This is the same functionality that Container provides.

| Q             | A
| ------------- | ---
| Bug fix?      | yes
| New feature?  | no
| BC breaks?    | no
| Deprecations? | no
| Tests pass?   | yes
| Fixed tickets |
| License       | MIT
| Doc PR        |

---------------------------------------------------------------------------

by vicb at 2013-03-04T22:43:07Z

could you add a unit test and use the standard PR header (symfony.com > doc > contributing). thanks.

---------------------------------------------------------------------------

by igorw at 2013-03-04T22:48:02Z

Can you add a test case? EDIT: I guess someone beat me to that comment. :)
[DependencyInjection] added a test for the previous merge (refs #7261)