Fix red lua remove and consolidate some rb plugin functions

I'll revisit adding enums once I research it a bit more

Change-Id: If10c445cf770e5b90defc543f08d8de0817b2f3d
1 file changed