tm tests form gitignore, add simple mwb file
option to generate array initializer in constructor
Pluralizes relationships.

This allows more natural sounding names, as Doctrine takes care of the
reverse pluralisation when building entities from the metadata. For
example, if we have a one to many relationship between two tables
"blog" and "post" (where one blog has many posts), this patch causes
doctrine to generate the methods getPosts(), addPost(), removePost().
Previously the first method would have been getPost().

Additional support has been added to do the same for many to many
relationships.
Prevent Doctrine2 YAML from writing out M2M tables.

Amends writeTable() so that it does not write out M2M tables.  This
problem appears to affect most writeTable functions and a better
solution would be push the logic of whether to write (i.e. external
tables and m2m tables) should be in the base table, leaving the actual
writing to the children.  If there is interest, I am happy to provide a
fix along those lines.
Merge pull request #76 from elyobo/pluralise_one_to_many

Pluralizes relationships.
Merge pull request #78 from elyobo/doctrine2_yaml_do_not_write_m2m_tables

Prevent Doctrine2 YAML from writing out M2M tables.
Automatic repository names in Doctrine2 Yaml.

Merged from pull request #79.
Mark tables with extra columns as not many to many.

Merged from pull request #77.

Signed-off-by: Toha <tohenk@yahoo.com>
make sure constructor param isn't null
merge upstream