fixes issue #17 (obscure bug with generics)
adds a test case for replace
adds support for automatic parent in setDefaultExpression and setAssignment
introduces a Spoon-specific exception
fixes broken test