Fix tickboxes on block charts

* Added the correct routes for the "visible" and "invisble" actions,
  which required the ID of the series to be enabled or disabled. This
  was probably lost during the Rails 4 upgrade.

* Fixed the "data-" properties in the block chart template which aren't
  working when part of a nested hash.

Closes #1747.
Correct the indent in the predictions view