Optimisations & tweaks

Hi,
     I have made the following changes : 
     1. Created bug_details.html which fetches the details of the bugs from the 'details' table of the 'alerts database' instead of querying bugzilla.
     2. In reports.html, the bugid is now linked to its respective bugzilla page.

Please review my code.
Thank You.