4 functionaliities use 1 function now

Hi,
Now submitduplicate, submitbug, submittbpl & updatestatus uses a single function instead of 4 different functions. Please review.
Thank You