Add first rough versions of calories and bmi calculator
Further work on the calories calculators

- Save the user's data to the profile when performing the calculations
- The different calculations are done by the model
- There is a very rough indication of planed calories on the plan view
Fix broken HTML
Fix issue with sorting

When a day had more than one days of the week, the day would be rendered
more than once in the overview. With this, the training days are ordered
by the ID of the first week day.
More elegant empty query for workout logs
Update D3 and JQuery to latest versions
Animate the data points in the body weight chart, opening them in succession
Make the animation duration independent of the number of data points
Automatically save the weight entered when calculating the BMI
Update the user's last weight entry when needed
Draw the BMI weight chart with D3, along with the current value
Correctly retrieve the latest weight entry, fix JSON bug
Fix pep8 formatting
Add tests for the BMI calculator
Correctly handle non-ASCII headers for the weight CSV export
Commit missing migration file
Do sanity test when rearranging the order of the sets
Update Bulgarian and Spanish translations
Update BMI chart
Automatically draw the BMI on page load