cleanup .gitignore
add .hgignore
use javascript_include_tag and javascript_tag instead of raw html
code layout cleanup app/views/ratios/index.html.erb
refactor controller and view
round cpi and spi in lib instead of view
add exporting csv feature