fixed inconsistency in context cloning where a field in context was ignored in deepCopy but not handled in "normal" clone which was reachable through Value cloning which indirectly had references to contexts that then were cloned through the object serilization used in deepcopy of Value's.

Problem discovered in compass.
removed unused imports
 Type checker missing some inequalities, fixes #332
Merge remote-tracking branch 'origin/ncb/development' into ncb/development
Merge remote-tracking branch 'origin/kel/astv2' into ncb/development