Update index.js

added a grunt specific init so you can pass the done() promise object in - allows this library to be used by grunt-doccy