js code inline, makes translation easier

Moved javascript code from thebuggenie.js to milestonedetails.html.php. Makes translation of legend items easier.
TBG.Chart.burndownChart removed

TBG.Chart.burndownChart removed, now in modules/project/templates/milestonedetails.html.php
Merge pull request #269 from milkyway-git/patch-1

Moved js code for translation purposes