adds test "chart" divs
moves script tags to bottom of body
adds polychart library
makes test graph in application.js
minor fixes to test graph; adds pseudocode in application.js comments