Fix bug that caused D3 to not render the results

If all logs for a day had no weight (logged as 0), this would cause D3
to error while processing it. Using the string 'n.a' now to mark these
logs safely, since the user can't enter this value.
Correctly render the link to the exercise from the weight log page.