add use of flush option in doctrine:clear_* task
remove inline condition
add unit test for doctrine_clear_use_flush_option
Merge pull request #349 from metfan/master

add use of flush option in doctrine:clear_* task