Merge pull request #36 from mgermain/resume

First step of the resume feature from #24.
Added small utils function to handle json
Added simple unit for script smart_dispatch, fixed bug
Merge pull request #1 from SMART-Lab/master

Pullback changes from main trunk