docs(api): New code to automatically generate documentation

Created a new script to generate the documentation using dgeni.
Added multiple examples for locators.js and protractor.js

closes #448