Refactor Variables service to use array variable format. Fix variable saving
Merge pull request #227 from hannu/fix-variable-saving

Refactor Variables service to use array variable format. Fix variable saving