Merge pull request #2 from ir4y/master

Fixes after code review
Some moving things cleanup
Cleaned up test for nested tuples
Moved to package layout, split up transformation code into separate file
Major helpers refactor
Support complex if bodies
Refactor destructurization func
Added TODO about locals/globals name clash
Moved all checks to destruct_...(), implemented nested types by the way.