check for process.stdout.clearLine api before using it
Merge pull request #111 from jhaynie/master

check for process.stdout.clearLine api before using it