initial upload of android plugin code, also small change to REST

the 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