Use option object rather than positional arguments for ol.animation.create* functions
Merge pull request #133 from fredj/options-obj

ol.animation.create* functions should use options objects rather than positional arguments