Added option to open the first item by default

- fixed issue where clicking an already open item will close and reopen
it
- added better inline documentation
- added minified JavaScript file
Merge branch 'open-first-item'