added grunt-jsdoc-to-markdown. resolves #3

- added grunt-jsdoc-to-markdown to build
- added api to gitignore
- added function documentation
- created ‘classes’ and moved functions
- some code changes