Add specs for prerotate, firstaction & lastaction taking arrays
add support for arrays in prerotate, firstaction & lastaction
Update docs
Merge pull request #29 from rodjek/action_arrays

prerotate, firstaction, lastaction should take arrays too