add try..except bloc to executor module and refactor unittests code
Merge branch 'exec-format' of https://github.com/vaytess/pyatta into exec-format