Script: recursively chown sdcard0 to media_rw:media_rw

+ add init.d support

Change-Id: I4b98a11bf3fef1f46c313f0c01ee0a39db33fe71
move some flags to common

Change-Id: I96369074db119145811c8e4f1720c97c9e4fe745