Add a python DSL renderer.
bug fixes and add a cmd.call to the cmd state.

The cmd.call state integrates with pydsl such that it's possible
to declare a state that would call a python function when the state
is applied.
Add a test module for pydsl and some bug fixes.
Add test cases and fixed some corner cases.