[charts] New chart Button

This pull request should make the "New Chart v" dropdown functional; when a question is clicked, a chart should be added to the page. Note that the chart page isn't persistent; that will be part of v2. Note also that active status of items on the dropdown is also not set at the moment.
Single line between function definitions is preferable.