Add .gitignore
Fix Delphi XE5 compatibility issues