Accept options.details HTMLElement in commit method
Accept options.details HTMLElement in commit method

Allow to pass HTMLElement in options.details for commit operations as described in the documentation.

This fix is needed for shadow-dom context(like polymer) where document.getElementById is not working.
nicoespeon/gitgraph.js,nicoespeon/gitgraph.js,nicoespeon/gitgraph.js,nicoespeon/gitgraph.js