Misc tweaks

- Use JHtml to initialise JavaScript
- Modify JHtmlBootstrap::carousel() to allow the selector param to specify class or id
- Missing closing </div>
Merge pull request #2 from mbabker/modules-gsoc

Misc tweaks