Remove unused parameter
Don't increment index for non-text paragraphs
Fixed confusing use of ! (not) operator
Add Sinon.JS and jasmine-sinon as testing helpers
Don't specify legacy bower directory
Fix path to spec helper scripts
Polyfill Function.prototype.bind for PhantomJS

It doesn't support Function.prototype.bind: https://github.com/ariya/phantomjs/issues/10522
Add tests for Heading Formatter
Build