Large refactor. Added assertions in many places, improved documentation.
Merge branch 'development' of https://github.com/pse4/orange-proton into development