Use extra_script function in recovery to flash SuperSU at the end of rom flash (2/2)

Based on Nameless script

Change-Id: I184a8ebc46435fb7ed83d38a73cca4fd0a7651dd
Merge "Use extra_script function in recovery to flash SuperSU at the end of rom flash (2/2)" into lp5.0