Fix for activityManager getDetails() & list() bugs

 :Release Notes
 Checking for mandatory parameters available in getDetails and list api's.
 If not available returns error.

 :Detailed Notes
 Returns the error note if the mandatory parameters are not
 specified in GetDetails() and List() api's.

 :Testing Performed
 Compiled locally and tested in device.

 :QA Notes

 :Issues Addressed
 [GF-11691] activityManager/getDetails - returns True for less number of required parameters
 [GF-11693] activityManager/list - returns True for less number of required parameters

Open-webOS-DCO-1.0-Signed-off-by: Yasaswini A Y <yasaswini.ay@lge.com>

Change-Id: I2be53db1749cb5f3b62fdad8ac793e5c7d09a599
Reviewed-on: https://g2g.palm.com/3004
Reviewed-by: Build Verification
Reviewed-by: Ranjini Venkatesh
Tested-by: Ranjini Venkatesh
Reviewed-by: Roger Stringer <roger.stringer@lge.com>