Use shared functionality through other gems

- Use newer version of 'index_html' gem
- Use 'agile_utils' gem for common code
- Fix bug in the 'index.html' file due to bug in 'index_html' gem