Fix memory leaks
Change $IF CompilerVersion to $IFDEF(Fix for Delphi 5)
Raise exceptions for unsupported primitive wrappers
Merge pull request #53 from alexeyvo/development

Fix memory leaks