require that --daemon is uid/gid 0
execv invocation fixes

Change-Id: I80e7100a834b7eca2d9c8560c221cffd41492f03
Fix superuser when using ART.

Change-Id: I8ef488afe6f7912d8fac205088c3b431a5cb4a35
merge changes from CyanogenMod 10.2 into local branch