Small change to REST and initial upload of android plugin code

change to REST allows the addobject and updateobject to both accept "true"/"false" or "1"/"0" for enabled field making them more consistent with each other