Added Python script for autogenerating patches.

Added Python script for autogenerating effect patches based on parameter
definitions.