updated API to handle kwargs for attrCoalesce
fixed some formatting issues
Merge pull request #1 from bmuller/master

Update for forked repo