Add flushAll method

Easier then using patterns.
Fix indenting
Merge pull request #9 from barryvdh/patch-2

Add flushAll method