modified DoctrineWriter's setValue to check for manyToMany add methods

This PR is for allowing DoctrineWriter to handle updating many-to-many and one-to-many associations that use `add` and `remove` methods.  The unit tests have also been updated.