Fixed CRM-12812 & added a webtest for the same

Fixed CRM-12812 & added a webtest for the same. 
Corrected syntax error in file ActivityChangeStatus.js [ added missing ");"] since it was giving a syntax error in console.