Fix for array serialization bug caused by overwwriting Array.toSON. Fix/improvement of Workout.update(). Small improvements to code in general.
Improving unserialization methods from Workout so they can be used in page initialization.