Made sure that output actions are last in Action object

Minor change to make sure output is last when executing an action
Added test for order of action rules
Added space to get pep8 not to complain
Merge pull request #10 from chrissmall22/bug#9

Bug#9