The scripting system now stores the scripts in a dictionary instead of a list.
Fixed the list_actions script.
Changed according to coding style.
Removed left over files from mercurial.